John Gilmore [Sat, 14 Mar 1992 05:40:34 +0000 (05:40 +0000)]
* mipsread.c (mipscoff_symfile_read): Eliminate a lot of
useless code, including an lseek to an uninitialized variable.
Reported by Jim Williams <jimbo@wrs.com>.
Roland Pesch [Sat, 14 Mar 1992 00:07:37 +0000 (00:07 +0000)]
(1) GDB 4.5: another Grossman/Gilmore co-production!
(2) Add fnf to GDB credits for SVr4 stuff. (Need to sift ChangeLog again for
more recent credits).
(3) document "mapped", "readnow" keywords (with file or symbol-file commands;
for now no mention of add-symbol-file in this context), -m and -mapped
cmd-line options, and associated explanations.
Roland Pesch [Fri, 13 Mar 1992 22:56:28 +0000 (22:56 +0000)]
(1) Document printmsyms; slight clarifications to description of printsyms,
printpsyms.
(2) Fix errors found by makeinfo.
(3) Initial docn for "info proc" and its subcommands. Should probably
be expanded somewhat after implementation complete.
* config/mt-<foo> renamed to <foo>.mt
* config/mh-<foo> renamed to <foo>.mt
* configure.in changed to reflect this
* genscripts.sh now make .xbn files rather than .xN files
Roland Pesch [Thu, 12 Mar 1992 21:15:32 +0000 (21:15 +0000)]
.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)
This is the third and final batch of makefile changes this round.
These are Makefiles that do not participate in progressive yet have
still been brought current.
* 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.
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.
* coff-i960.c (icoff_little_vec): add COFF_SWAP_TABLE so we can run gdb on little
endian 960 code.
* archive.c (compute_and_write_armap): indirect symbols should go
into the archive header too.
Sean Eric Fagan [Fri, 6 Mar 1992 12:01:13 +0000 (12:01 +0000)]
Routines for currently-unsupported architectures. findcall() just returns
in dummy.c, and dummy.h mostly contains copyright. (These were originally
the hp300 files from the UCBerkeley net2 tape.)
Sean Eric Fagan [Fri, 6 Mar 1992 11:56:31 +0000 (11:56 +0000)]
Fixed bugs (both typos and algorithmic) bugs. It now matches native gprof's
on both the sparc (SunOS) and Mach386 systems, more or less. (The differences
are at least partially due to what I think might be bugs in the native
gprof.)
John Gilmore [Fri, 6 Mar 1992 09:27:47 +0000 (09:27 +0000)]
* 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.
John Gilmore [Fri, 6 Mar 1992 09:16:52 +0000 (09:16 +0000)]
* 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.
Fred Fish [Wed, 4 Mar 1992 20:50:10 +0000 (20:50 +0000)]
* 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.
Michael Tiemann [Tue, 3 Mar 1992 23:26:26 +0000 (23:26 +0000)]
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.)
* 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.
Per Bothner [Mon, 2 Mar 1992 06:46:32 +0000 (06:46 +0000)]
* 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.
Fred Fish [Sun, 1 Mar 1992 21:20:04 +0000 (21:20 +0000)]
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.
Michael Tiemann [Sun, 1 Mar 1992 12:45:17 +0000 (12:45 +0000)]
Make the declarations of fix_new consistent under __STDC__. It might
be better to #define NEED_FX_R_TYPE in TC_A29K and TC_SPARC instead of
having this complicated conditional, but that's not my call.
Per Bothner [Sat, 29 Feb 1992 04:44:27 +0000 (04:44 +0000)]
* aoutx.h (NAME(aout,print_symbol)): Don't print
symbol addresss for undefined symbols.
* coff-rs6000.c: Various updates (due to target-
independent changes).
* libbfd.h: Ditto (tdata field is now a union).
* hosts/h-sparc.h: Removed prototype for bogus function
'emset' (presumably should have been 'memset' - which is there).
John Gilmore [Fri, 28 Feb 1992 03:26:45 +0000 (03:26 +0000)]
* 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.
Roland Pesch [Fri, 28 Feb 1992 01:01:24 +0000 (01:01 +0000)]
Hard-code "@appendix" instead of "@chapter" at the beginning of each of these.
This will eventually be supported with a trivial macro, but those aren't
standard texinfo yet; in the meantime, I think GDB is the only manual we
print that uses these---and it wants appendices.
Roland Pesch [Fri, 28 Feb 1992 00:42:40 +0000 (00:42 +0000)]
* 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
John Gilmore [Fri, 28 Feb 1992 00:37:03 +0000 (00:37 +0000)]
* 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.
John Gilmore [Thu, 27 Feb 1992 19:56:28 +0000 (19:56 +0000)]
* 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.