Commit Graph

7898 Commits

Author SHA1 Message Date
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
Andrew Cagney c634a08ff8 HPMERGE:
Pass gdb_stderr instead of stderr.
In serial.c, fix call to gdb_fclose() - pass gdb_file** not gdb_file*
1999-01-18 01:24:06 +00:00
Andrew Cagney 8bdec905f1 Fix warnings from calls to catch_errors() and make_cleanup(). 1999-01-18 00:46:13 +00:00
Andrew Cagney 6e45c399c1 catch_errors() takes PTR argument/func instead of char* argument/func.
Update breakpoint.c.
Fix (?) cover_target_enable_exception_callback().  Wasn't returning a
value.
1999-01-17 23:23:42 +00:00
Fernando Nasser 2bef607561 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* remote.c (remote_query): new function - creates proper interface
        to the remote protocol "q" command.
1999-01-16 19:01:23 +00:00
Zdenek Radouch 517b49896a Changed ABI to match a GCC change. Structs passed by value are always
passed using a pointer.
1999-01-15 22:17:00 +00:00
Elena Zannoni 93b84526e8 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
	and compiled w/o GCC.
1999-01-15 19:17:31 +00:00
Elena Zannoni 7930c920e4 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.hp/watch-cmd.exp: do not execute unless on hppa-hpux platform
	and compiled w/o GCC.

	* gdb.hp/watch-hp.exp: ditto.

	* gdb.hp/xdb1.exp: ditto.

	* gdb.hp/xdb2.exp: ditto.

	* gdb.hp/dbx.exp: ditto.
1999-01-15 19:10:52 +00:00
Fernando Nasser 7269d43e10 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
* target.h: added entry for target queries (to_query)
          target.c: ditto.
1999-01-15 17:30:25 +00:00
Fernando Nasser a68e7120b1 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
* .Sanitize: add Kernel Objects Display (a.k.a. KOD) sanitization.
1999-01-15 16:22:07 +00:00
Stan Shebs ef8884afcb * constvars.c: Remove C++-isms.
* constvars.exp: Use gdb_test everywhere, add xfails if compiled
 	with GCC.
1999-01-15 02:41:19 +00:00
Stan Shebs d6dc958030 * Makefile.in (GDBvn.texi): Fix match expression to work with
current format of VERSION in gdb/Makefile.in.
	* gdb.texinfo: Fix node ref to match new readline.
1999-01-15 01:12:49 +00:00
David Taylor 1206c6599d fix stream arguments to fprintf_unfiltered, gdb_flush, print_address_numeric,
and fwrite.
1999-01-14 23:40:25 +00:00
Michael Snyder dab43dfdcd Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* infrun.c (set/show scheduler-locking) New command.  Set a
          mode bit that will control how GDB attempts to control thread
          scheduling for step, continue, etc.  (resume): make use of
          the schedule-locking mode.
        * target.h (struct target_ops): new field to_has_thread_control.
        * sol-thread.c: initialize target_ops to_has_thread_control.
        * procfs.c: ditto.
        * target.c: ditto.
        * m3-nat.c: ditto.
        * remote.c: ditto.
        * hpux-thread.c: ditto.
1999-01-14 18:46:54 +00:00
David Taylor 320d5bd8b6 insert_breakpoints -- insert cast to eliminate warning. 1999-01-14 00:37:26 +00:00
Michael Snyder 3ab2abae9a Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* infrun.c (set/show scheduler-locking) New command.  Set a
          mode bit that will control how GDB attempts to control thread
          scheduling for step, continue, etc.  (resume): make use of
          the schedule-locking mode.
        * target.h (struct target_ops): new field to_has_thread_control.
        * sol-thread.c: initialize target_ops to_has_thread_control.
        * procfs.c: ditto.
        * target.c: ditto.
        * m3-nat.c: ditto.
        * remote.c: ditto.
        * hpux-thread.c: ditto.
1999-01-13 23:53:30 +00:00
Michael Snyder ea377ea4c0 spelling fix. 1999-01-13 23:49:55 +00:00
Michael Snyder 677f415c03 * thread.c: cull duplicate prototypes. Move prototypes to top.
* serial.c: indentation cleanup.
        * breakpoint.c: add casts to eliminate compiler warnings.
1999-01-13 23:44:07 +00:00
David Taylor 9e309e8341 change by Edie. 1999-01-13 17:18:32 +00:00
Edith Epstein e618fce49f Wed Jan 13 10:38:40 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* gdb.texinfo: Changes made as part of a project to merge in
	  changes made by HP. Documentation makes extensive use of
	  @ifclear HPPA and @ifset HPPA. The HP manual omits doumentation
	  on remote debugging. There are differences in documentation
 	  (HP vs.  non-HP) on C++ support (aCC vs. gnu gcc++). Also,
	  the HP manual discusses catchpoints, hardware watchpoints, and
	  some HPUX specific limitations for shared library support.

	  There are also a number of @node changes.
1999-01-13 16:02:06 +00:00
Jason Molenda 642c5be775 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_base_monitor_ops): Whitespace cleanup.
        (_initialize_remote_monitors): Same.
1999-01-13 01:49:33 +00:00
Jason Molenda 9d4010dcac 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_monitor_ops): Initialize the monitor_ops
        structure if it hasn't already been done.

PR 18735
1999-01-13 01:45:04 +00:00
Jason Molenda 4b6afe7012 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* gdbint.texinfo (Formatting): Disambiguate a sentence.
        (C Usage): Same.

I am stupid, so I had trouble reading these two sentences.
Now I can read them, so I am happy.
1999-01-13 01:35:53 +00:00
Stan Shebs 870b0f305d Flush the Cygnus-ized reference card, hasn't been used in years. 1999-01-13 01:04:33 +00:00
Stan Shebs 7110ccc127 * inftarg.c (child_ops): Don't initialize statically.
(init_child_ops): New function, fills in child_ops.
	(_initialize_inftarg): Use it.
	(child_post_attach): Declare extern.
	(child_wait): Fix ambiguous parens.
	(child_attach_to_process): Remove unused local wstatus.
	(child_insert_fork_catchpoint, child_remove_fork_catchpoint,
	child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
	child_has_forked, child_insert_exec_catchpoint,
	child_remove_exec_catchpoint): Return a value.
1999-01-12 22:58:18 +00:00
Edith Epstein 9897afc639 Tue Jan 12 16:54:37 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* gdb.texinfo (Shell Commands): fixed messages about shell usage.
          HP was insisting on C shell. Now all UNIX platforms have the
          same message. removed @ifset HPPA and @ifclear HPPA

Tue Jan 12 17:00:00 1999  Edith Epstein  <eepstein@sophia.cygnus.com>

	* inftarg.c (child_create_inferior): fixed HPUXHPPA specific
	  call to fork_inferior. The shell param is now NULL.
1999-01-12 22:03:58 +00:00
David Taylor c6d4dd9883 remove acinclude.m4 until it gets committed. 1999-01-12 17:11:39 +00:00
David Taylor 0127dc8337 att ChangeLog. 1999-01-12 16:58:31 +00:00
David Taylor f0edbb0d5c new files. 1999-01-12 15:40:50 +00:00
David Taylor 36ea6c719b rename file. 1999-01-12 15:39:24 +00:00
David Taylor 8cdcdd2de6 fix typo. 1999-01-12 15:19:11 +00:00
Michael Snyder 98c5c19292 Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* remote.c (remote_wait): Add inferior_pid to thread list only
        if it is not already there.
1999-01-12 00:44:30 +00:00
Jason Molenda 897ccbb084 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
* scm-tags.h: Update FSF's address on copyright notice.
        * ser-e7kpc.c: Same.
        * gnu-nat.h: Same.
1999-01-11 23:22:25 +00:00
Stu Grossman 4cffc916c1 * dwarf2read.c (dump_die): Change stderr gdb_stderr.
* expprint.c (print_subexp):  fprintf => fprintf_unfiltered.
	* jv-typeprint.c (java_type_print_base):  fputs => fputs_filtered.
	* stack.c (struct function_bounds):  Remove superfluous `typedef'.
	* symfile.c (list_overlays_command):  stdout => gdb_stdout.
	* symmisc.c (maintenance_check_symtabs):  stdout => gdb_stdout.
	* utils.c (print_spaces):  Make more efficient.
1999-01-11 21:51:39 +00:00
David Taylor 776fb68dfc print_spaces -- fix arg to strcat (broken by 1.165.6.4 change to utils.c). 1999-01-11 18:58:07 +00:00
David Taylor f273e38ccc new files -- part of HP merge project. 1999-01-11 15:52:01 +00:00
David Taylor db8276bb10 modifications as part of HP merge; new tests; support for HP's compilers. 1999-01-11 15:20:52 +00:00
David Taylor 07dbe97683 new files; renamed files -- from HP merge effort. 1999-01-11 05:44:24 +00:00
David Taylor 2b63a85324 new files -- HP merge 1999-01-11 05:41:54 +00:00
David Taylor 46ad9c6596 new files and renamed files -- hp merge 1999-01-11 05:40:47 +00:00
David Taylor 162f1a6f66 renamed files -- HP merge. 1999-01-11 05:38:09 +00:00
David Taylor d55ea55c19 new files -- part of HP merge. 1999-01-11 05:36:48 +00:00
David Taylor f5f100fecb new files -- part of the HP merge. 1999-01-09 00:10:18 +00:00
David Taylor e1260544e1 new files -- from HP merge. 1999-01-09 00:00:54 +00:00
David Taylor e8ce2368b3 new file -- part of HP merge. 1999-01-08 23:42:20 +00:00
David Taylor 7e745333bb new files -- part of HP merge. 1999-01-08 23:40:55 +00:00
David Taylor e2fb40b3b6 renamed to have names 14 characters long or shorter. 1999-01-08 23:38:29 +00:00
David Taylor ba49f20406 new files; part of HP merge. 1999-01-08 23:28:15 +00:00
Stan Shebs 4d8f8e121a * exec.c (exec_ops): Don't initialize statically.
(init_exec_ops): New function, fills in exec_ops.
	(_initialize_exec): Use it.
1999-01-08 20:03:11 +00:00
Zdenek Radouch 1c3101060c Beta version of the FR30 port. 1999-01-07 22:54:18 +00:00
David Taylor 460845ab29 HP merge related changes; TUI stuff; new configs for 10.20 and 11.00; new files. 1999-01-06 23:10:48 +00:00
Stan Shebs 5ee261db88 * gdb.base/default.exp: Reflect wording change in remote.c. 1999-01-06 21:52:14 +00:00
Stan Shebs 7517f04bc4 * remote.c: Pacify --enable-build-warnings, reformat code
to conform to standards, fix spelling errors.
	(ishex, stubhex, record_currthread, etc): Declare.
	(ishex, stubhex): Declare char arg as int.
	(pack_string): Comment out, never used but possibly useful.
	(threadref_to_int, remote_get_threadinfo, etc): Make static.
1999-01-06 20:14:30 +00:00
David Taylor 13b470dc1b The following changes were made by Edith Epstein <eepstein@cygnus.com>
as part of a project to merge in changes made by HP.

all-cfg.texi -- set HPPA for HP PA-RISC targets.
refcard.tex -- change documentation about catch; removed info catch.
HPPA-cfg.texi -- new file; HPPA configuration for manual.
1999-01-06 17:01:03 +00:00
David Taylor 3473370194 HP merge changes by eepstein and ezannoni; added external flag
hp_som_som_object_present; added true and false tokens; changed some of
the template processing code for handling HP aCC templates.
1999-01-06 16:52:17 +00:00
Michael Snyder 732063ebf3 Update to reflect current help text. 1999-01-06 03:16:31 +00:00
Michael Snyder b53a15146c * remote.c (record_curthread): Must not modify inferior_pid when
called from wait_for_inferior.  Instead, if a new thread-id is
	detected, call add_thread.  (MAGIC_NULL_PID): new macro, use
	instead of the magic number "42000".  (remote_find_new_threads):
	if inferior_pid is unknown, get and use the current thread id.
	(remote_start_remote): on connecting, attempt to get the current
	thread id for inferior_pid.  (remote_resume): If pid == -1,
	then resume any-thread (not the current thread specifically).
	* thread.c (info_threads_command): don't initialize current_pid
	until after call to FIND_NEW_THREADS (which may change inferior_pid).
1999-01-06 03:08:10 +00:00
Michael Snyder 1f205f9d6e cosmetic fixups, mainly long lines. 1999-01-06 03:06:20 +00:00
Michael Snyder d036abbfd1 cosmetic changes, mainly long lines. 1999-01-06 03:04:45 +00:00
David Taylor d9455383f9 updates to reflect recent HP additions. 1999-01-06 00:52:29 +00:00
David Taylor 80909c45f8 fix anon-union tests from HP. 1999-01-06 00:11:17 +00:00
David Taylor 17f18ac4e5 new files -- part of HP merge. 1999-01-05 23:31:03 +00:00
David Taylor 490825560e target.c (noprocess): terminate sentence with a period.
breakpoint.c (catch_command_1): ditto.
1999-01-05 22:01:26 +00:00
David Taylor 2d46b1af8d *** empty log message *** 1999-01-05 21:59:02 +00:00
David Taylor 61e635a444 hp merge changes; mostly new files.
scope.exp, langs.exp, list.exp -- compile one file at a time, then link.
default.exp -- change expected messages for catch and info catch tests to
reflect hp merge changes.
1999-01-05 21:58:18 +00:00
Jason Molenda 8a4ca570ba Fix a typeo, 1997 -> 1998 in a date entry. 1999-01-05 21:11:53 +00:00
Michael Snyder 8903ab7935 Fix couple spelling errors. 1999-01-05 19:44:19 +00:00
Michael Snyder 9bff382ded Cosmetic and indentation fixes. 1999-01-05 19:42:47 +00:00
David Taylor eceede3100 c_value_print -- remove hack^2 from HP -- it causes testsuite losses with
no real gain.
1999-01-05 17:08:19 +00:00
David Taylor 2819d3d65f restore START_INFERIOR_TRAPS_EXPECTED if not already defined by tm-*.h 1999-01-05 16:58:28 +00:00
Stan Shebs 18b1e896d4 * gdbint.texinfo: Expand on GDB's coding standards,
specify the use of arg names with prototypes.
1999-01-05 02:31:51 +00:00
Jason Molenda d951f9e4f9 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Fix whitespace indentation for --help.
        * configure: Regenerated.
1999-01-05 01:42:38 +00:00
Jason Molenda d7f71863da 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
* main.c: Add --write command line option, document -w.
        * gdb.1: Document --write.
1999-01-05 00:50:49 +00:00
Stan Shebs 1de1323172 fix copyright dates 1999-01-05 00:18:06 +00:00
Jason Molenda f240337a6f 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Require autoconf 2.12.1 or higher.
        * doc/configure.in: Ditto.
        * nlm/configure.in: Ditto.
        * rdi-share/configure.in: Ditto.
        * testsuite/configure.in: Ditto.
        * doc/Makefile.in: Don't hardcode $(SHELL).
        * nlm/Makefile.in: Ditto.
        * rdi-share/Makefile.in: Ditto.
        * testsuite/Makefile.in: Ditto.
1999-01-05 00:17:07 +00:00
David Taylor c87f565f5a new functions -- skip_hp_tests, gdb_preprocess; gdb_compile takes new
optional argument specifying c++.
1999-01-04 22:40:38 +00:00
David Taylor 2e11d9ccf2 add gdb.hp to list of subdirectories. 1999-01-04 22:22:56 +00:00
David Taylor f5f706d8d1 change log entries for changes just committed. 1999-01-04 22:15:25 +00:00
David Taylor 709c6ee051 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
to delete on clean.
	(EXECUTABLES): update to reflect new additions.
	* gdb.base/commands.exp: update message expected.
	* gdb.base/default.exp: add copyright notice.
	* gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
	* gdb.base/help.exp: update messages to reflect current text.
	* gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
	targets for recurse tests.
	* gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
	skip this file.
1999-01-04 22:12:40 +00:00
David Taylor b3d32d4f8f configure.in -- decide whether to configure gdb.hp; configure -- regenerated. 1999-01-04 22:11:08 +00:00
David Taylor 298e0bc56e doc new files. 1999-01-04 21:40:46 +00:00
David Taylor 53c8a4de28 new files -- part of HP merge. 1999-01-04 21:35:27 +00:00
Stan Shebs ee7ae7ae52 keep split ChangeLog 1999-01-04 21:07:18 +00:00
Stan Shebs 73ec6020e5 Split the ChangeLog by year 1999-01-04 21:06:51 +00:00
Stan Shebs 64aa82eb77 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
inits of new fields, including ref to bogus field.
	(vx_ops, vx_run_ops): Make static.
1999-01-04 21:01:58 +00:00
David Taylor 97bff53b38 delete redundant definition of STARTUP_INFERIOR_TRAPS_EXPECTED. 1999-01-04 20:21:16 +00:00
David Taylor 3e1d3d67b9 change <sys/unistd.h> to <unistd.h> and conditionalize its inclusion. 1999-01-04 20:07:59 +00:00