Commit graph

7857 commits

Author SHA1 Message Date
Stan Shebs
e49d4fa61a import gdb-19990422 snapshot 1999-04-27 01:26:45 +00:00
Stan Shebs
7a292a7adf import gdb-19990422 snapshot 1999-04-26 18:34:20 +00:00
Stan Shebs
0714f9bfa3 import gdb-19990422 snapshot 1999-04-26 18:25:51 +00:00
Stan Shebs
3dd8d9225d Not part of the sources 1999-04-26 17:34:15 +00:00
Stan Shebs
c906108c21 Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
Stan Shebs
9733ab3f56 Initial creation of sourceware repository 1999-04-16 01:34:49 +00:00
Stan Shebs
071ea11e85 Initial creation of sourceware repository 1999-04-16 01:34:07 +00:00
Mark Alexander
1730ec6b18 * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
coffread.c will correctly handle char or short function parameters.
1999-02-15 02:23:56 +00:00
Stan Shebs
35564bd7ba * gdb.texinfo: Update the credits. 1999-02-12 02:02:45 +00:00
Martin Hunt
eb9ea5de74 1999-02-11 Martin Hunt <hunt@cygnus.com>
* gdbtk-variable.c (variable_format): Enable binary format.
1999-02-12 00:00:14 +00:00
Martin Hunt
5bbb337f4a *** empty log message *** 1999-02-11 21:12:19 +00:00
Martin Hunt
8ee982c6a9 1999-02-11 Martin Hunt <hunt@cygnus.com>
* gdbtk-hooks.c: Change ALL Tcl_Eval calls in hooks to
	call report_error() if there are errors.
1999-02-11 21:11:58 +00:00
Martin Hunt
5288b2e1b2 1999-02-11 Martin Hunt <hunt@cygnus.com>
* gdbtk.c, gdbtk-cmds.c, gdbtk-hooks.c: Removed old IDE stuff.
1999-02-11 20:53:23 +00:00
Jason Molenda
8fa71a718c 1999-02-11 Jason Molenda (jsm@bugshack.cygnus.com)
* configure, aclocal.m4: Regenerate with correct version of aclocal.
1999-02-11 19:22:23 +00:00
Syd Polk
92cf44957c 1999-02-10 Syd Polk <spolk@cygnus.com>
* acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh.
	* aclocal.m4: Regnerate.
	* configure: Regenerate.
1999-02-11 02:15:40 +00:00
Jason Molenda
f43739dcc4 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
* demangle.c: Fix comments to mention "set demangle-style"
        instead of "set demangle".
        Run through indent to fix minor indenting problems.
1999-02-11 01:58:22 +00:00
Bob Manson
886f038c4c * i386-tdep.c (gdb_print_insn_i386): Add missing returns.
Disassembly fails on sparc host otherwise (for obvious reasons).
1999-02-11 01:54:15 +00:00
Jason Molenda
a502297e81 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/smoke.exp: Disambiguate two test case names (both
        called ``print'').
1999-02-11 00:57:35 +00:00
Stan Shebs
87f77edfc6 Removing java sanitization! 1999-02-11 00:24:38 +00:00
Stan Shebs
baf6de2ed9 Declare Gould configuration obsolete:
* configure.host, configure.tgt: Comment out Gould configs.
	* Makefile.in: Comment out Gould-related actions.
	* gould-xdep.c, gould-tdep.c, config/gould/*: Comment out.
	* NEWS: Mention obsolete status.
And the first one bites the dust...
1999-02-10 21:28:03 +00:00
Christopher Faylor
dc3623dc4b Fix a typo. 1999-02-10 17:19:01 +00:00
Martin Hunt
945df66aff 1999-02-09 Martin Hunt <hunt@cygnus.com>
* gdbtk-hooks.c: Remove gdbtk_ignorable_warning prototype.
	It is in gdbtk.h.
	(report_error): New function. Displays debugging information
	if a hook function fails.  All hook functions should probably
	call this.
	(gdbtk_warning): Call report_error() if there is a problem.
	(gdbtk_register_changed): Call report_error() if there is a problem.
	(gdbtk_memory_changed): Call report_error() if there is a problem.
	(gdbtk_ignorable_warning): Pass along class argument. If there
	is a problem, call report_error().

	* gdbtk-cmds.c: Remove TclDebug prototype.  It is in gdbtk.h.
	(gdb_loadfile): Add class name to gdbtk_ignorable_warning call.

	* gdbtk.c (TclDebug): Add "priority" argument. Calls "dbug"
	instead of "debug". Removed non-ANSI ifdefs.

	* gdbtk.h: Fixed protos for gdbtk_ignorable_warning and TclDebug.
1999-02-09 22:18:52 +00:00
Jim Blandy
8741159f8a *** empty log message *** 1999-02-09 21:22:15 +00:00
DJ Delorie
9cc267def9 * sparcl-tdep.c: UDP download works in cygwin 1999-02-09 20:05:42 +00:00
Jason Molenda
8aad4bd619 1999-02-08 Jason Molenda (jsm@bugshack.cygnus.com)
* gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
        * configure.in: Don't check for libintl.h.
        * configure, config.in: Regenerated.

Fixes a problem on debian systems, a conflict between the
/usr/include/libintl.h and the routines that are actually linked in,
up in ../intl.
1999-02-09 07:03:23 +00:00
Stan Shebs
f84e1784d4 * NEWS: Mention new X packet and PowerPC variant support. 1999-02-09 02:19:18 +00:00
Stan Shebs
229c5cdb62 * gdb.texinfo: Fix mistakes noticed in printout of last
draft, add Alpha to discussion of heuristic fence post.
1999-02-09 01:38:18 +00:00
Nick Clifton
5510d6a1c7 Add support for StrongARM host/target. 1999-02-08 17:07:07 +00:00
David Taylor
2a5e06a2db dsrec.c (make_srec): cast targ_addr to int in call to sprintf, otherwise on
big endian machines (e.g., sparc) with a bfd_vma of 64 bits, everything
gets loaded at location 0.  (PR 18929)
1999-02-08 17:07:06 +00:00
Andrew Cagney
dd1a4280b2 From Frank Ch. Eigler <fche@cygnus.com>
* infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed to target program.
(But the comments are cagney's and not Frank's.)
1999-02-07 22:35:03 +00:00
Jim Ingham
b11485dae8 1999-02-05 James Ingham <jingham@cygnus.com>
* Makefile.in: Add GDBTK_CFLAGS - this is now used to hold
        -fwritable-strings when compiling with Tk8.1.
        * configure.in: Add GDBTK_CFLAGS, set it to -fwritable-strings for
        Tcl/Tk8.1 & greater.
        * acinclude.m4: Move the rest of the defines to find Itcl, Itk &
        Tix from aclocal.m4 to here.
        * aclocal.m4: regenerate.
        * configure: regenerate.

        * gdbtk-hooks.c (x_event): Tcl_ObjGetVar2 was removed from
        Tcl8.1.  Use Tcl_GetVar2 instead.
        * gdbtk-hooks.c (gdbtk_trace_find): Fix up call to
        Tcl_GlobalEvalObj for Tcl/Tk 8.1.
        * gdbtk-hooks.c (gdbtk_trace_start_stop): Call to Tcl_EvalObj was
        inefficient, replace with call to Tcl_GlobalEval.
        * gdbtk.c: Don't swap out the Tcl_Alloc calls in gdbtk.c.  We took
        care of that in Tcl itself for 8.1.
        * gdbtk.c: Remove const from the script string since Tcl8.1 has
        taken to scribbling sentinals into strings passed to it again...

        * gdbtk-cmds.c (wrapped_call): Change declaration of 1st arg from
        char * to PTR to eliminate warning.
        * gdbtk-cmds.c (perror_with_name_wrapper): Ditto
1999-02-06 01:50:46 +00:00
Stan Shebs
77e3189254 Actually part of gdb.texinfo change. 1999-02-06 01:28:34 +00:00
Stan Shebs
c1a227bf1d * gdb.texinfo: Many changes; update to Seventh Edition,
merge some HP changes into mainline, describe some previously
	undocumented features, describe more of the target commands
	available, eliminate obsolete section on renamed commands.
	* all-cfg.texi, HPPA-cfg.texi: Remove some obsolete conditionals.
1999-02-06 01:26:06 +00:00
Stan Shebs
0ee74219a1 * NEWS: Add mentions of various new things. 1999-02-06 00:48:21 +00:00
Jason Molenda
bdb7b08518 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/miscexprs.exp: Change patterns to match GDB's
        actual output formatting.
        * gdb.base/smoke.exp: GDB removes leading 0's.
        * gdb.base/volatile.exp: Don't check type of remuneration;
        that variable is no longer defined in constvars.c.
        * gdb.base/step-test.c (main): Exit with explicit exit code.
        * gdb.base/step-test.exp: Remove two nexti checks--they are
        not portable.
1999-02-05 02:56:20 +00:00
Jason Molenda
edec2582e4 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/help.exp ("help delete display"): Fix test to match
        gdb's output.

        * gdb.base/long_long.c (known_types): Initialize values to zero.
        * gdb.base/long_long.exp: Step one more line
        so 'dec' is initialized in "get to known place".  GDB doesn't
        prepend unnecessary zeros to the front of numbers.  Explicitly
        ask for hex formatting.  Use unique test case names.
1999-02-05 00:59:26 +00:00
Gavin Romig-Koch
1d9b80fd7c improve sanitation 1999-02-04 21:01:09 +00:00
Keith Seitz
8f87134c12 Doh!
* gdbtk-variable.c (variable_create): Allocate enough
        space to hold the NULL, too!
1999-02-04 18:37:01 +00:00
Christopher Faylor
2ab6ecfc96 * configure.in: Move termcap determination a later in the file to catch
setting of cygwin flag.
* configure: Regenerate.
1999-02-04 05:21:55 +00:00
Jeff Law
a12bb0d853 Fix minor buglet. 1999-02-04 05:17:29 +00:00
Martin Hunt
f5818bcf68 1999-02-03 Martin Hunt <hunt@cygnus.com>
* console.test (clear_command_line): Add tests 1.5 - 1.8,
	which test the new Shift-Up and Shift-Down bindings.
1999-02-04 02:49:41 +00:00
Keith Seitz
84d0414f88 Whoops. Wrong changelog! 1999-02-03 21:39:45 +00:00
Keith Seitz
c951836e48 * gdbtk-variable.c (variable_create): Add parentheses to the name
so that casts do not confuse the expression parser.
1999-02-03 21:39:02 +00:00
Christopher Faylor
d8f6bd4ee7 * config/i386/cygwin.mh: Move TERMCAP test code to configure.in.
* configure.in: Treat libtermcap.a detection as a special case when
hosting on cygwin.
* configure: Regenerate.
1999-02-03 19:29:00 +00:00
Keith Seitz
2a9984fc65 * gdbtool.ico: Add missing desktop image. 1999-02-03 17:03:18 +00:00
Keith Seitz
62286abf6e * remote.c (remote_binary_download, remote_binary_length): New
static globals for dealing with binary transmissions.
        (remote_write_bytes): Add support for binary downloads
        by shadowing the "M" packet with a new "X" packet. This
        defaults to ON; if the stub does not understand this, it
        will fall back to using "M".
        (putpkt): Add support for binary downloading.
        * monitor.c (monitor_expect): The mon2000 monitor
        on the MSA2000 will also emit random DC1/DC3 chars.
        * m32r-stub.c: Change all char's to unsigned char's
        to support binary downloading.
        (handle_exception): Add support for binary downloading
        via a new "X" packet.
        (getpacket): Do NOT strip eighth bit of incoming chars.
        Watch out for escaped characters in the incoming stream.
        (putpacket): Do NOT strip eighth bit of incoming chars.
        (bin2mem): New function to write binary data directly to
        memory.
        * m32r-rom.c: Add new "mon2000" target.
1999-02-03 17:02:01 +00:00
Elena Zannoni
17c9273aa1 Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
	passed to make_cleanup to the correct type.
	(hpread_quick_traverse): Change fifth arg to call to
	hpread_end_psymtab to be 0.
	Compare CURR_MODULE_END to 0 rather than NULL.
	Get rid of ifdef'ed out code.
	(scan_procs): Get rid of ifdef'ed out code.

	* somread.c (som_symfile_read): Coerce first argument passed to
	make_cleanup to the correct type.
1999-02-02 23:53:54 +00:00
Elena Zannoni
85a85d8a14 Tue Feb 2 17:36:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c (do_pxdb): New function. Check whether the
	file needs to be processed by pxdb (an HP debug info massaging
	tool), if so call it.
	(hpread_build_psymtabs): Initialize scan_start to 0 and
	simplify flow of control.

	* somread.c (som_symfile_read): Add call to do_pxdb (),
	in hp-psymtab-read.c.

	* symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
	code.
	(symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
	in hp-psymtab-read.c.
1999-02-02 23:38:45 +00:00
Martin Hunt
8c8fff6321 1999-02-02 Martin Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (get_register): For RAW display, concat all the
	pieces together before calling fputs.
1999-02-02 21:26:56 +00:00
Martin Hunt
71003ca13f 1999-02-02 Martin Hunt <hunt@cygnus.com>
* printcmd.c (print_scalar_formatted): Use strcat to concat all
	the output together before calling fprintf_filtered().
1999-02-02 21:11:16 +00:00