Commit Graph

7984 Commits

Author SHA1 Message Date
Jason Molenda 5a2468f5c5 import gdb-1999-07-26 snapshot 1999-07-27 00:51:29 +00:00
Jason Molenda 97ab6f9f4b 1999-07-19 Jason Molenda (jsm@bugshack.cygnus.com)
* a1-selftest.exp, pointers2.c, pointers2.exp: These files were
	renamed as of this snapshot.
1999-07-19 23:32:44 +00:00
Jason Molenda adf40b2e16 import gdb-1999-07-19 snapshot 1999-07-19 23:30:11 +00:00
Jason Molenda daf3f280eb import gdb-1999-07-12 snapshot 1999-07-12 18:08:43 +00:00
Jason Molenda 4476592ff9 Removed as of the gdb-1999-07-12 snapshot. 1999-07-12 11:23:01 +00:00
Jason Molenda 43e526b9b4 import gdb-1999-07-12 snapshot 1999-07-12 11:15:22 +00:00
Jason Molenda c2a1d49a27 import gdb-1999-07-07 pre reformat 1999-07-08 00:26:39 +00:00
Jason Molenda c5aa993b1f import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
Jason Molenda 3a4b77d8be import gdb-1999-07-07 post reformat 1999-07-07 20:11:14 +00:00
Jason Molenda 9846de1bb5 import gdb-1999-07-07 pre reformat 1999-07-07 17:31:57 +00:00
Jason Molenda 43ff13b418 import gdb-1999-07-05 snapshot 1999-07-05 17:58:44 +00:00
Jason Molenda 74cf13956f import gdb-1999-06-28 snapshot 1999-06-28 23:04:32 +00:00
Jason Molenda 9cd2c67bac These files were removed in the 1999-06-28 snapshot. 1999-06-28 17:11:12 +00:00
Jason Molenda 085dd6e638 import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
Jason Molenda 9e0b60a847 import gdb-1999-06-21 snapshot 1999-06-21 13:27:42 +00:00
Jason Molenda 2dcad5ea23 import gdb-1999-06-14 snapshot 1999-06-15 01:08:59 +00:00
Jason Molenda 0f71a2f66f import gdb-1999-06-14 snapshot 1999-06-14 18:08:47 +00:00
Jason Molenda 6027a0b892 import gdb-1999-06-07 snapshot 1999-06-08 02:18:01 +00:00
Jason Molenda cce74817d9 import gdb-1999-06-07 snapshot 1999-06-07 19:19:32 +00:00
Jason Molenda ac9a91a77c import gdb-1999-06-01 snapshot 1999-06-01 15:44:41 +00:00
Jason Molenda 392a587b05 import gdb-1999-05-25 snapshot 1999-05-25 18:09:09 +00:00
Jason Molenda 5ce7ce3191 Sync up with Cygnus CVS repository (cvs import doesn't handle these
automatically, alas.  This cleanpu must be automated in the near future).
Tue Mar  9 19:25:11 1999  Stan Shebs  <shebs@andros.cygnus.com>
        * h8-cfg.texi: Remove, hasn't been used in years.
1999-05-10  Martin Hunt  <hunt@cygnus.com>
        * debugify.c, debugify.h: Removed because they are no
        longer used.
Tue Mar 16 15:29:04 1999  Stan Shebs  <shebs@andros.cygnus.com>
        * go32-xdep.c: Remove, no longer used by anything.
1999-05-23 20:02:56 +00:00
Jason Molenda 9e086581c7 import gdb-1999-0519 1999-05-19 19:58:41 +00:00
Stan Shebs b5a0ac7029 import gdb-1999-05-10 1999-05-11 20:29:07 +00:00
Stan Shebs cd0fc7c3eb import gdb-1999-05-10 1999-05-11 13:35:55 +00:00
Stan Shebs a4cb37cb10 import gdb-19990504 snapshot 1999-05-05 21:45:13 +00:00
Stan Shebs b83266a0e1 import gdb-19990504 snapshot 1999-05-05 14:45:51 +00:00
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
Elena Zannoni fa36fcf53c Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.

	* gdb.c++/method.exp: Add missing close brace.
1999-02-02 15:17:34 +00:00
Jason Molenda 0abbe35d84 1999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Require autoconf 2.13.
        (AM_EXEEXT): Replace with new AC_EXEEXT.
        * acinclude.m4: Move itcl header macros from aclocal.m4 to here.
        * aclocal.m4: Regenerated.
        * configure: Regenerated.
1999-02-01 21:34:30 +00:00
Jim Blandy 7d201336b4 *** empty log message *** 1999-02-01 21:17:46 +00:00
Jim Blandy 2ac058fda9 Allow PPC users to select which PPC/RS6000 variant they're debugging
at run-time.  At the moment, the only thing this affects is the
set of registers visible.
* config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
to the function rs6000_register_name.
(rs6000_register_name): Include extern decl.
(NUM_REGS): Bump to 183.  What's the right way to do this?
(FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
FIRST_SP_REGNUM, LAST_SP_REGNUM.
(REGISTER_BYTES): Recompute this.
* rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
some concomitant formatting changes.
#include "gdbcmd.h", so we can define commands here.
(struct variant): New structure.
(COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
PPC_32_OEA_SPR_NAMES, num_registers): New macros.
(register_names_rs6000, register_names_uisa, register_names_403,
register_names_403GC, register_names_505, register_names_860,
register_names_601, register_names_602, register_names_603,
register_names_604, register_names_750, variants): New variables.
(rs6000_register_name, install_variant, find_variant_by_name,
install_variant_by_name, list_variants, show_current_variant,
set_processor, show_processor): New functions.
(_initialize_rs6000_tdep): Define new commands `set processor' and
`show processor', and call install_variant_by_name to set the
default variant.
* rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
some concomitant formatting changes.
* configure.in: Accept the `--with-cpu' flag, to specify a default
processor variant.
* acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
by configure's `--with-cpu' flag.
* config.in, configure: Regenerated.
1999-02-01 21:17:19 +00:00
Martin Hunt a89837187f 1999-02-01 Martin Hunt <hunt@cygnus.com>
* srcwin.test (srcwin-4.3): Fix bp test.
1999-02-01 20:13:54 +00:00
Martin Hunt 3267b29009 1999-02-01 Martin Hunt <hunt@cygnus.com>
* gdbtk-cmds.c: (gdb_set_bp): Change the "type" argument
	to be ASCII instead of an integer. Currently accepts "temp"
	or "normal".  Fixed error messages.
	(gdb_set_bp_addr): Ditto.
1999-02-01 20:06:38 +00:00
Jim Ingham af9067c171 Adding scrwin3.test.to .Sanitize. 1999-02-01 19:29:24 +00:00
Edith Epstein 0c17cddada *** empty log message *** 1999-02-01 19:03:07 +00:00
Stan Shebs 552316ee17 * buildsym.h, buildsym.c: Convert to ANSI-only. 1999-02-01 00:38:25 +00:00
Stan Shebs 8523b5f36d * buildsym.h, buildsym.c: Reformat to standard. 1999-01-31 23:57:18 +00:00
Stan Shebs f3cc3e6e6d * buildsym.c (merge_symbol_lists): Remove unused variable.
(_initialize_buildsym): Remove, does nothing.
1999-01-31 23:29:13 +00:00
Stan Shebs 3a70e50388 1999-01-31 J.T. Conklin <jtc@redbacknetworks.com>
* i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
 	sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
 	to include explicit void return type as per documentation.  Fix up
 	occasions where stubs erroneously checked return type.
1999-01-31 21:46:19 +00:00
Stan Shebs b7263fb370 From J.T. Conklin <jtc@redbacknetworks.com>:
* remote.c (remote_query): Fix tipo.
1999-01-31 21:23:43 +00:00
Jim Blandy caf6b72db4 *** empty log message *** 1999-01-30 19:27:42 +00:00
Brendan Kehoe 7338159674 update to show move by shebs from gdb.base 1999-01-30 05:06:28 +00:00
Brendan Kehoe cda195d264 update from shebs relocation of files to gdb.hp 1999-01-30 05:05:21 +00:00
Brendan Kehoe 1b1b2d18ec comment out kod piece, since kod.c and kodecosdll.c are not checked
into CVS.
1999-01-30 05:04:43 +00:00
Jim Ingham 1d70b547cb 1999-01-29 James Ingham <jingham@cygnus.com>
* gdbtk.c (gdbtk_init): Set the fputs_unfiltered_hook to
	gdbtk_fputs BEFORE you eval script.  The old code was setting it
	to null until after you did this, but that is wrong, because it
	will cause the output of CAUGHT errors to go to gdb_stderr, which
	is wrong.  You only want to write errors to the console if the
	eval generates an error.
1999-01-30 04:20:31 +00:00
Martin Hunt b845066654 1999-01-29 Martin Hunt <hunt@cygnus.com>
* srcwin.test (click): New function that generates an event
	at a location.
	(srcwin-4.4): New test. Simulate a click on a line and
	check for breakpoint set.
	(srcwin-4.5): New test. Right-click on a line and select "Continue
	to Here" from popup.

	* srcwin.exp: Source srcwin3.test, which will test source window
	assembly debugging on executables built without "-g".
1999-01-30 02:56:04 +00:00
Jim Ingham 054b29542c Adding some missing files to the .Sanitize file. 1999-01-30 02:13:12 +00:00
Elena Zannoni f9039690ac Fri Jan 29 19:10:09 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Fix typos in ChangeLog
1999-01-30 00:12:22 +00:00
Stan Shebs a8edbc4de0 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
 	(shortening names from solib_threshold.exp etc), won't run on
 	anything but HP-UX for the foreseeable future.
	* gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
 	reflect move.
1999-01-30 00:03:21 +00:00
Stan Shebs db36fe70e7 Move other gdbtk testsuite changelog entries here 1999-01-29 23:57:22 +00:00
Stan Shebs 68ed1ed6de No longer sanitize out refs to v850e or v850ea 1999-01-29 23:40:26 +00:00
Stan Shebs 31bcf8905f * configure.tgt (v850): Add wildcard to match.
Also remove sanitization for v850e and ea.
1999-01-29 23:39:40 +00:00
Edith Epstein 34adffbd05 Fri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* inferior.h: ran indent

	* fork-child.c: ran indent

	* infrun.c : ran indent
1999-01-29 21:47:09 +00:00
Elena Zannoni fbd641cbd3 Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* infrun.c (_initialize_infrun): do not stop or print anything
	when a SIGWINCH is received.
1999-01-29 18:29:12 +00:00
Elena Zannoni f4d3153f65 Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Makefile.in (m2-exp.tab.c): use YACC not BISON.
	(f-exp.tab.c): ditto
	(jv-exp.tab.c): ditto
	(c-exp.tab.c): ditto
	(YACC): define as @YACC@
1999-01-29 18:01:29 +00:00
Keith Seitz 16c338694d * gdb.gdbtk/cpp_variable.test (cpp_variable-1.1): Fix
function name error.

        * gdb.gdbtk/cpp_variable.h (class VC): Fix compiler warning.

	Fix sanitize error in changelog.
1999-01-29 14:35:12 +00:00
Martin Hunt 7c5c8a5e46 1999-01-29 Martin Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (gdb_get_breakpoint_info): When printing addresses,
        do not rely on the format string "%lx" -- it does not exist for all
        hosts. Use paddr instead.
	(gdb_loadfile): Increase maximum line size to pass testsuite cases.

	* gdbtk-hooks.c (gdbtk_add_hooks): Remove pc_changed_hook and
        add register_changed_hook and memory_changed_hook.
        (gdbtk_register_changed): New function.
        (gdbtk_memory_changed): New function.
1999-01-29 09:46:26 +00:00
Martin Hunt 6925baeaa6 1999-01-29 Martin Hunt <hunt@cygnus.com>
Changes from Keith Seitz  <keiths@cygnus.com>

        * valops.c (value_assign): Add calls to register_changed_hook and
        memory_changed_hook to inform UIs that the user has changed
        the target's registers/memory.
        * findvar.c (write_register_gen): Remove call to pc_changed_hook.
        * defs.h: Remove declaration for pc_changed_hook and
        add declarations for register_changed_hook and
        memory_changed_hook.
        * top.c: Ditto.
1999-01-29 09:46:03 +00:00
Martin Hunt 6aba57bef2 1999-01-29 Martin Hunt <hunt@cygnus.com>
* srcwin.test(srcwin-4.3) Change bytype field to 3.
1999-01-29 09:44:18 +00:00
Martin Hunt 40a7f1e93a 1999-01-29 Martin Hunt <hunt@cygnus.com>
* gdbtk.c (gdbtk_init): Create tcl warp_pointer command
        for use with testing.

        * gdbtk-cmds.c (gdb_loc): Fix for case where there are only
        minimal symbols.  Also make gdb_loc return the shared library
        the location is in, if it is in one.
1999-01-29 08:56:14 +00:00
Mark Alexander e5c9fdd2b6 Fix for PR 17980:
* procfs.c (wait_fd): Handle deleted threads correctly.
1999-01-29 02:19:27 +00:00
Jason Molenda 401be973eb 1999-01-28 Jason Molenda (jsm@bugshack.cygnus.com)
* utils.c (init_page_info): Force window size if running under emacs.

emacs-detection stolen from readline.
1999-01-28 22:06:24 +00:00
Jim Ingham 31262a404a 1999-01-27 James Ingham <jingham@cygnus.com>
* gdbtk-wrapper.c: Missed a couple of places where FILE->GDB_FILE
	in the fputs_unfiltered_hook needed to propagate.
1999-01-28 06:11:03 +00:00
Jim Ingham c98fe0c119 This is the merge of the Itcl3.0 gdbtk development branch into the
trunk.  To build it, you will have to do update -dP in the itcl
directory, and update tcl, tk, tix and libgui as well.
1999-01-28 03:50:17 +00:00
Elena Zannoni 42d99b82d9 Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c: reformatted using indent.
1999-01-27 21:59:10 +00:00
Elena Zannoni 893a9f1383 Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c: reformatted comments, updated copyright.
1999-01-27 18:22:44 +00:00
Andrew Cagney 57bb3453c4 * mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD
elf_info.
1999-01-27 04:45:28 +00:00
Jason Molenda 00c1f9b9c0 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
* tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish
        system.


Without this you'll get a build failure in gdbtk.c because it includes
stdarg.h but tui.h includes varargs.h; gdbtk.c tries to use va_start
and things die.
1999-01-27 00:48:10 +00:00
Mark Alexander 602886332b * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
v850_register_names, v850_processor_type_table): Declare tables
	and structures for handling differences in register names for
	v850 and v850e.
	(struct reg_list): Define new structure for creating tables
	of register bit masks in v850e instrutions.
	(handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
	(v850_scan_prologue): Recognize v850e instructions: callt, prepare,
	and pushm.
	(v850_target_architecture_hook): New function to set register
	names based on current machine.
	(_initialize_v850_tdep): Set up target_architecture_hook.
	* config/v850/tm-v850.h (v850_register_names): Declare.
	(REGISTER_NAME): Define to refer to v850_register_names.
	(SR0_REGNUM, CTBP_REGNUM): Define.
	(PS_REGNUM): Redefine in terms of SR0_REGNUM.
1999-01-27 00:15:00 +00:00
Elena Zannoni d8f4ee32b2 Tue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Makefile.in (c-exp.tab.c): use BISON instead of YACC, to pick
	the correct value from configure output.
	(jv-exp.tab.c): ditto.
	(f-exp.tab.c): ditto.
	(m2-exp.tab.c): ditto.
1999-01-26 23:32:39 +00:00
Jason Molenda 517ab61151 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
* breakpoint.h (ep_is_exception_catchpoint): Add prototype.
        * frame.h (select_and_print_frame): Add prototype.
        * stack.c (func_command): Call select_and_print_frame with correct
        number of arguments.  Reformat whitespace.

As far as I can tell, the func command (only enabled in --dbx mode) doesn't
actually work right now, even with this rather glaring fix.  I'm not going
to spend time on it; dbx mode looks pretty seriously broken after a five
second glance.
1999-01-26 23:15:13 +00:00
Fernando Nasser a61e26e2d2 Tue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com>
* remote.c (remote_query): fix maximum packet size to account for
          remote_debug use.
          (putpkt): add comment to alert about extra byte need.
1999-01-26 21:57:10 +00:00
Jeff Law b041460dbe am33 sanitize changes 1999-01-26 14:52:15 +00:00
Mark Alexander 1eeb1b63fa * sh-tdep.c (sh_target_architecture_hook): Return immediately
when a matching machine is found.
1999-01-26 03:57:32 +00:00
Mark Alexander c5a3735edf Fix for PR 18873:
* remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
	(common_breakpoint): Restore support for instruction breakpoints
	on non-LSI targets.
1999-01-22 17:15:21 +00:00
Andrew Cagney 95490429f9 Fix typos. 1999-01-22 03:21:25 +00:00
Stan Shebs b58ed18b12 From J.T. Conklin <jtc@redbacknetworks.com>:
* top.c (init_main): Fix tipo in description of the remotetimeout
	variable.
	* breakpoint.c (bpstat_stop_status): Handle systems where
	DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
1999-01-22 03:09:06 +00:00
Stan Shebs 51aa361ef8 * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
init only nonzero fields, leave to_require_attach and
	to_require_detach empty, not needed for /proc systems yet.
	(_initialize_procfs): Call init_procfs_ops.
1999-01-22 02:30:37 +00:00
Mark Alexander f5dce6c602 * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
to fill in mon960_cmds structure properly.
1999-01-22 01:29:46 +00:00
Stan Shebs a23dbfcb07 * remote-sds.c (sds_ops): Define only once.
(init_sds_ops, sds_command, _initialize_remote_sds): Declare.
	(init_sds_ops): Init only non-zero fields.
1999-01-21 03:08:02 +00:00
Stan Shebs 9de3835dab * gdb.texinfo: Make many HPPA conditionals unconditional,
including catchpoint description, since now on for all configs.
	* all-cfg.texi: @clear HPPA, since is mainly for very HP-specific
	specializations.
1999-01-21 01:51:30 +00:00
Mark Alexander 7363ff9083 Changes for PR 8996:
* h8300-tdep.c (original_register_names, h8300h_register_names,
	h8300_register_names): Define new variables.
	(set_register_names): New function to set register names based on
	current CPU type.
	(h8300_command, h8300h_command, h8300s_command): Call
	set_register_names.
	* config/h8300/tm-h8300.h (h8300_register_names): Declare.
	(REGISTER_NAME): Define to refer to h8300_register_names.
1999-01-20 23:54:03 +00:00
Felix Lee 835bc7e426 new file, shlib-call.exp, should be kept. 1999-01-20 01:27:09 +00:00
Jason Molenda 9f79294203 Shame on Jimbo. 1999-01-19 23:31:52 +00:00
Fernando Nasser ba4d67c2bf 1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
* sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c
	mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c
	remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c
	remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c
	remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c
	remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c
	v850ice.c win32-nat.c: cosmetic changes to conform to coding
	standards.
1999-01-19 20:45:31 +00:00
David Taylor d5abf0a4e6 fix copyright years (forgot to add 1999). 1999-01-19 17:01:36 +00:00
Jim Blandy 495c315acf Use aclocal to generate GDB's aclocal.m4 script.
* acinclude.m4: New file, containing the hand-written local macro
definitions that used to be in aclocal.m4.  Don't sinclude
../bfd/aclocal.m4 any more; running aclocal in this directory will
get us the definitions we need.  HOWEVER: Do sinclude
../bfd/acinclude.m4, because we need the definition of
BFD_NEED_DECLARATION.
* aclocal.m4: Regenerated by aclocal.
* configure: Regenerated by autoconf.
1999-01-19 16:57:32 +00:00
Jim Blandy 36eeadb29d *** empty log message *** 1999-01-19 16:57:09 +00:00
Jim Blandy d21802cde4 *** empty log message *** 1999-01-19 16:56:22 +00:00
David Taylor 5337bd558b disable_breakpoints_in_shlibs now takes a new parameter -- silent; callers
updated.  new callers -- clear_solib (irix5-nat.c, osfsolib.c, solib.c).
PR 16495 / PR 18213.
1999-01-19 16:20:39 +00:00
David Taylor d69cff284b only declare child_post_attach if CHILD_POST_ATTACH is defined. 1999-01-19 15:29:06 +00:00
Andrew Cagney 3b06727073 More make_cleanups/catch_errors warning fixes. 1999-01-19 12:28:20 +00:00
Andrew Cagney bc8bd256d0 HPMERGE:
More wrong uses of gdb_stderr and stderr/stdout.
More upddates to calls of catch_errors() so that call matches new interface.
1999-01-19 02:17:00 +00:00
Stan Shebs ab0e22180a * ser-ocd.c (ocd_open): Handle Unix case gracefully.
fixes bug reported on ecos-discuss
1999-01-19 02:13:06 +00:00
Stan Shebs 8a7dfaa090 * target.c (dummy_target): Don't initialize statically.
(init_dummy_target): New function, fills in dummy_target.
	(initialize_targets): Use it.
	* hpux-thread.c (hpux_thread_ops): Don't initialize statically.
	(init_hpux_thread_ops): New function, fills in hpux_thread_ops.
	(_initialize_hpux_thread): Use it.
	* m3-nat.c (m3_ops): Don't initialize statically.
	(init_m3_ops): New function, fills in m3_ops.
	(_initialize_m3): Use it.
1999-01-19 00:49:41 +00:00
Fernando Nasser 49f47b0013 1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
* sol-thread.c: delete compile time initialization of target_ops
          (_initialize_sol_thread): initialize target_ops at run time.
        * hpux-thread.c: added target_ops entry.
        * m3-nat.c: ditto.
1999-01-19 00:39:04 +00:00
David Taylor 63f8d5f5b3 change initialization of procfs_ops from compile time to run time. 1999-01-18 20:22:43 +00:00
Christopher Faylor 040bbbc24b * configure.in: Ensure that -luser32 is always linked in for cygwin build.
* configure: Regenerated.
1999-01-18 17:54:36 +00:00
Mark Alexander a396d2bd0d * values.c (value_virtual_fn_field): Clear the pointed-to
offset when casting to the base class.
1999-01-18 16:43:01 +00:00
David Taylor f9a5267ce6 fix hp merge (2.66.4 branch) changes to remote-udi.c -- it didn't compile. 1999-01-18 15:35:10 +00:00