Commit Graph

947 Commits

Author SHA1 Message Date
Roland Pesch
6ca72cc661 .Sanitize: reflect removal of gdb-all.texi from repository
lucid.m4: config for Lucid/NCR (like "all.m4" but also turns on _LUCID__)

none.m4: turn _LUCID__ off by default

gdb.texinfo:
1) Use bold rather than italic for user input in intro, to avoid discord
   with meta-variable convention throughout manual (jim@wrs.com suggestion).
2) Some mumbling about using GDB under Energize/Cadillac.
   (conditionalized on _LUCID__, not included yet in general-doc config)
3) more remarks about debugging optimized code, incl vanishing unused vars
   (rms/gnu/net suggestion).
4) @emph replaces @i in a few spots (emphasis should affect info file as
   well as printed manual).
5) "memory tracing", "breakpoint on variable modification" index entries
   added, pointing to watchpoints (gnu suggestion).
6) Less passive, more index entries, in breakpoint-number description
7) doc new convenience var $bpnum (due to grossman?)
8) Update "info breakpoints" to describe new Grossman format; note now
   synonymous with "info watchpoints".
9) Describe negative (GDB internal) breakpoints and new "info all-breakpoints"
10) Slight change to description of colon-colon GDB expression notation,
   describing function::var as well as file::var and noting var is static
   (lmb question, gnu suggestion)
11) Doc Per's new &(&foo) for debugging C++
12) Rephrase paragraph in configure appendix to avoid overfull box
    (in *large* format!)
13) Additional warning re VPATH feature required for --srcdir= config.
    (gnu suggestion)
1992-03-12 21:15:32 +00:00
Per Bothner
6730b13987 * solib.h, infrun.c, tm-rs6000.h: Add a PID parameter
to SOLIB_CREATE_INFERIOR_HOOK macro.
1992-03-12 20:18:54 +00:00
K. Richard Pixley
ace5203312 keep ChangeLog and gdb-all.texi 1992-03-10 00:57:37 +00:00
Stu Grossman
1744d4eb1c Interface routines for Lucid's tool protocol. 1992-03-09 22:46:53 +00:00
Fred Fish
a846ac554c * symfile.h: Add prototype for iterate_over_msymbols().
* symtab.c (cplus_mangled_symbol):  Add function.
	* symtab.c (lookup_symbol):  Call cplus_mangled_symbol via
	iterate_over_msymbols to find demangled C++ symbol.
	* xcoffexec.c (relocate_minimal_symbol): Return meaningful
	value to iterate_over_msymbols().
	* xcoffexec.c (vmap_symtab):  Ignore return from iterate_over_
	msymbols().
1992-03-09 05:23:45 +00:00
K. Richard Pixley
787c6bfe70 This is the second batch of makefile changes. Libg++ makefiles were
checked in earlier.  These are Makefiles relevant to the progressive
release currently in progress.

* added exec_prefix
* default bindir now exec_prefix/bin
* default libdir now exec_prefix/lib
* default mandir now prefix/man
* default infodir now prefix/info
* added oldincludedir, default NULL
* remove all traces of the old -subdirs and -namesubdir support,
  including code, for loops, and all subdir/unsubdir stuff.
* remove old style staging targets {de-}stage[1234], comparison,
  bootstrapN, from all but the bootstrappable tools.
* added check targets.
* removed any "Last Mod" lines.
* forced copyrights to '92 and shifted some from Cygnus to FSF.
* added tooldir and program_prefix where needed.
* updated texinfo and man pages, removed all references to multiple
  hosts or targets.
1992-03-08 07:47:55 +00:00
Roland Pesch
98fe45668d Fix punctuation error in node Disabling, spotted by gnu. 1992-03-06 20:05:04 +00:00
Roland Pesch
73e44aafe1 Remove (or comment out) local-formatting commands accidentally checked in.
(Fix for info-making problems spotted by Rich.)
1992-03-06 19:58:01 +00:00
K. Richard Pixley
7e54e97feb this file will be needed as long as we use a tool that we don't support (m4) 1992-03-06 11:30:45 +00:00
John Gilmore
2d62e80754 * mips-tdep.c (heuristic_proc_start): Avoid long delays
for remote MIPS by limiting heuristic to 200 byte search.
(heuristic_proc_desc):  Byte-swapping.
(mips_print_register):  Cope with failure of
read_relative_register_raw_bytes.  Byte-swap integers for
printing.
* mips-pinsn.c (print_insn):  Byte-swap instruction.
1992-03-06 09:27:47 +00:00
John Gilmore
b67cb9d5a9 * remote.c (): Add newline to initial +.
(remote_resume):  Mention how to cope with signals.
(remote_interrupt):  Add debug msg.
(remote-wait):  Implement new 'T' reply, which includes
status, PC, and FP all in a single short message.
(putpkt):  Add further debugging of packet acks.
* Makefile.in (VERSION):  Roll to 4.4.5.
1992-03-06 09:16:52 +00:00
John Gilmore
53ccaf5fea * mipsread.c (fixup_symtab): Also swap RFD's.
(parse_partial_symbols):  Avoid bug on unknown symbol types.
1992-03-06 09:12:42 +00:00
John Gilmore
fa5628d2f5 Remove sym.h and symconst.h from 'depend'. 1992-03-06 08:57:33 +00:00
John Gilmore
a1106a1e63 * ecoff.c: Move to ../bfd/coff-msym.c.
* config/mt-*mips:  Remove ecoff.o from the configuration.
1992-03-06 08:14:01 +00:00
John Gilmore
d716b16c26 * ecoff.c: Move to ../bfd/coff-msym.c.
* config/mt-*mips:  Remove ecoff.o from the configuration.
1992-03-06 08:05:20 +00:00
Stu Grossman
1170a046bd * config.sub configure.in config/.Sanitize config/mh-irix4
gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c
gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h
gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3
gdb/config/mh-irix4 texinfo/configure.in:  Port to SGI Irix-4.x.

Actually, just pick up a couple of files that I forgot.
1992-03-05 20:35:20 +00:00
Stu Grossman
407a8389b4 * config.sub configure.in config/.Sanitize config/mh-irix4
gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c
gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h
gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3
gdb/config/mh-irix4 texinfo/configure.in:  Port to SGI Irix-4.x.
1992-03-05 20:20:27 +00:00
Fred Fish
d7eddc5177 * defs.h, utils.c: xrealloc takes PTR as first arg.
* defs.h:  Reword confusing comment about ANSI prototypes.
	* defs.h:  Some minor whitespace changes.
	* infrun.c (wait_for_inferior):  Compare int tmp to int 0,
	not NULL, which can be (void *).
	* tm-amix.h, tm-i386v4.h:  Add defines for setjmp/longjmp handling.
	* tm-i386v.h (SP_ARG0):  Define
	* xm-sysv4.h:  Back out of change for missing prototypes.
	* i386-tdep.c (get_longjmp_target):  Add function.
1992-03-04 20:50:10 +00:00
Roland Pesch
c7cb8acbe8 H8/300 config, startup doc, and related mods. 1992-03-04 01:08:47 +00:00
Michael Tiemann
d747e0af3d Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
* All GDB files that #include defs.h: Removed stdio.h.
	(defs.h): #include stdio.h.

This has been tested by building GDBs for all targets hosted on Sun4.
None of the build problems were related to stdio.h inclusion.  (n.b.
many configurations don't build for other reasons.)
1992-03-03 23:26:26 +00:00
Steve Chamberlain
8f869b4551 * printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use
it before printing out the hex shape of an address.
1992-03-03 07:07:26 +00:00
Steve Chamberlain
96743d3c30 * gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH of
a ptype to reflect the setting of TARGET_PTR_BIT.  Set the
	TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED.
	* tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint
	* printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use
	it before printing out the hex shape of an address.
1992-03-03 07:05:23 +00:00
Fred Fish
bff1c97a66 Check in ChangeLog entries for the recent massive changes for prototypes,
objfile changes, etc.
1992-03-02 23:38:23 +00:00
Per Bothner
4ef09e3613 * rs6000-xdep.c (frame_initial_stack_address): Move
code to set frame->cache_fsr into new separate function
	frame_get_cacahe_fsr.  This allows fixing a fatal error.
	* xcoffexec.c:  Turn previously suppressed error
	message back on, after cleaning up BFD.
1992-03-02 06:46:32 +00:00
Per Bothner
6c6afbb92b More changes, mostly from IBM for rs6000. (See ChangeLog.) 1992-03-02 01:55:31 +00:00
Fred Fish
4b8333deca xm-sysv4.h: Provide definitions/prototypes for host environment
functions for which no definitions or prototypes are provided in
any currently included gdb or host environment header files.
For SVR4, this currently includes malloc and realloc, which cannot
be portably prototyped in any gdb include file.
1992-03-01 21:20:04 +00:00
Per Bothner
a6f40e9453 Forgot these two from previous check-in of rs6000 stuff. 1992-03-01 01:08:35 +00:00
Per Bothner
2b5a8d9c47 More changes, mostly from IBM, for the rs6000. See ChangeLog. 1992-03-01 01:04:13 +00:00
Per Bothner
818de002b6 Mostly rs6000 changes from IBM. 1992-02-29 06:03:43 +00:00
Stu Grossman
8537ba607b * breakpoint.c (breakpoint_re_set_one): Don't reset breakpoint
unless symbol table indicates that something has changed.
1992-02-28 04:10:02 +00:00
John Gilmore
b543979cda * remote.c: Make it work for embedded MIPS. Increase buffer
size, and use throughout.  Round buffer size up if too many regs.
Support baud rate setting and try for an 8-bit path.  If
interrupted while waiting for target, send a ^C down the wire.
Avoid single-byte reads.
* tm-mips.h:  Add more embedded-system registers to REGISTER_NAMES
and NUM_REGS.
* mips-xdep.h:  Avoid the embedded regs when on Unix.
1992-02-28 03:26:45 +00:00
Roland Pesch
e94b4a2b4c * Phrasing of "disassemble" description improved (less wordy, avoids widow in
small format)
* typo in index entry type fixed
* example of nonexistent configuration, in config appendix, slightly more
  far-fetched
1992-02-28 00:42:40 +00:00
Roland Pesch
9941f866a5 Added disclaimer (requested by WRS) on how procedures described for
connecting to VxWorks may change in future releases of VxWorks.
1992-02-28 00:39:11 +00:00
John Gilmore
d141f3e30d * mipsread.c: Byte-swap the symbol table structures, using
routines from ecoff.c, to read a symbol table written in any
of the four possible byte orders.
1992-02-28 00:37:03 +00:00
John Gilmore
238025a44b * config/mt-bigmips, config/mt-littlemips: Add ecoff.o. 1992-02-27 19:56:52 +00:00
John Gilmore
069bc45432 * configure.in (mips-big-* target): Same as Sony News.
* config/mt-bigmips, config/mt-littlemips:  Add ecoff.o.
* ecoff.c:  New file for symbol swapping routines.
1992-02-27 19:56:28 +00:00
Stu Grossman
36a19fdc5b Fix cvs merge fuckup. 1992-02-27 17:50:06 +00:00
Stu Grossman
80ba48f58c * breakpoint.c (all_breakpoints_info, breakpoint_1): Add 'info
all-breakpoints' command.
* (get_number):  Allow users to enter negative breakpoint numbers.
* (breakpoint_1):  Reformat display of 'info break' to show new
fields.
* (create_longjmp_breakpoint, breakpoint_re_set,
breakpoint_re_set_one, enable/disable_longjmp_breakpoint),
symfile.c  (syms_from_objfile):  Re-do
insertion of longjmp breakpoints.  Move all code into
breakpoint_re_set, and call that instead of
create_longjmp_breakpoint in symfile.c.
1992-02-27 17:45:02 +00:00
John Gilmore
cba0d141fb * breakpoint.h (ALL_BREAKPOINTS_SAFE): Add.
* breakpoint.c (breakpoint_re_set):  Use ALL_BREAKPOINTS_SAFE.
* symtab.c (find_pc_symtab):  Handle having no objfiles.
* infcmd.c:  Fix comment.
* objfiles.c (free_all_objfiles):  Add.
* symfile.h (ALL_OBJFILES, ALL_OBJFILES_SAFE):  Add.
* symfile.c (symbol_file_command):  free all objfiles when
specifying a new symbol file.
(reread_symbols):  Stat the file name, don't fstat the descriptor.
1992-02-27 16:28:59 +00:00
John Gilmore
5c83e859b9 Update `dependency' files so that Make will build the right things at
the right times.
1992-02-27 14:24:36 +00:00
John Gilmore
03686a4064 Remove running log from .Sanitize. 1992-02-27 14:15:41 +00:00
Roland Pesch
5e3186ab81 Fix one overlooked instance of "+" option prefix in configure appendix. 1992-02-25 23:49:22 +00:00
Fred Fish
a1f596f4fa Add gdbtypes.c gdbtypes.h minsyms.c mmap-alloc.c mmap-sbrk.c objfiles.c
solib.h state.c and state.h
1992-02-23 05:25:21 +00:00
John Gilmore
47890ed736 Roll VERSION to 4.4.4 for post-Stu changes. 1992-02-22 10:17:37 +00:00
John Gilmore
3531811073 * symfile.c (symbol_file_command): strcmp => !strcmp.
* breakpoint.h:  Move prototypes to follow enum definition they need.
* breakpoint.c, infrun.c:  Lint.
* printcmd.c:  Use `enum enable' rather than `enum
display_status'.
* mipsread.c:  First pass at making it compile with the new
objfile changes.  Probably seriously broken still, but it
compiles.  FIXME.
1992-02-22 10:04:50 +00:00
John Gilmore
93fe4e330e Saberlint.
* symmisc.c, xcoffread.c:  Move debug functions to symmisc.c.
1992-02-22 09:16:11 +00:00
Stu Grossman
30875e1c4b * infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,
breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h,
mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h:  Add support for
stepping (and nexting) through longjmp().  Also, cleanup
breakpoint handling quite a bit by creating explicit breakpoint
types instead of using magic breakpoint numbers.
Makefile.in:  Update version to 4.4.3
1992-02-22 09:06:58 +00:00
John Gilmore
021959e249 * xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP.
* minsyms.c (install_minimal_symbols):  Add bunches to any
existing minsyms in the objfile.  Avoid extra mallocation
by working directly in the obstack.  Remove ignored `mainline' parm.
* coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h,
xcoffread.c:  Change all callers.
* FIXME:  We should be able to eliminate MAINLINE from all the
symbol readers now, with a small bit of work.

* valops.c, value.h:  Lint.
* remote-vx.c:  Add missing break; statement.  Bugfix by
Michael Sclafani, <sclafani@src.dec.com>.
1992-02-22 08:17:01 +00:00
John Gilmore
1ab3bf1b14 * Check in Fred Fish's changes in these modules. Fred
will make ChangeLog entries for all of them.
1992-02-22 01:46:16 +00:00
John Gilmore
7919c3ed86 * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
into solib.h.
* sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c,
sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c,
value.h: Prototypes for static functions; lint.
* gdbtypes.h:  Empty file to ease transition.
1992-02-21 03:35:37 +00:00