Stu Grossman [Tue, 7 Apr 1992 23:09:50 +0000 (23:09 +0000)]
* m68k-tdep.c, tm-sun3.h: #ifdef around get_longjmp_target().
Change def of SAVED_PC_AFTER_CALL to call routine to see if we are
in a system call, and provide better backtrace if so.
Sean Eric Fagan [Tue, 7 Apr 1992 22:16:41 +0000 (22:16 +0000)]
The apollo make does not like lines which end in a backslash, but do not have
anything following (it tries to interpret the next line as a command; for
this file, the next line was merely more rules).
Fred Fish [Tue, 7 Apr 1992 03:53:12 +0000 (03:53 +0000)]
Get rid of include of <stdlib.h>, which is not guaranteed to be present
even when __STDC__ is defined. This also causes the ugly malloc/realloc/etc
kludge to go away.
Roland Pesch [Mon, 6 Apr 1992 23:29:36 +0000 (23:29 +0000)]
0) Update descriptions of symbol-file, file, add-symbol-file cmds for use
of *options* "-readnow" and "-mapped".
1) Change title/subtitle to come closer to text used by FSF when they
printed this thing (but still avoid silliness of having word "manual" in
the title).
2) First few minor corrections from most recent Chassell pass.
Per Bothner [Fri, 3 Apr 1992 20:25:57 +0000 (20:25 +0000)]
* munch: Must pre-pend "_" to "initialize" for SYSV style nm.
* tm-rs6000.h, xcoffexec.c, xcoffread.c, xm-rs6000.h:
Merge in more patches for rs6000 from Metin Ozisik.
* utils.c: Fix typo in comment.
John Gilmore [Fri, 3 Apr 1992 04:30:55 +0000 (04:30 +0000)]
* Makefile.in (OBS): Compile mipsread.c for all targets now.
(VERSION): Bump to 4.4.85.
* mipsread.c: Update for new include files. Lint.
* tm-irix3.h, tm-mips.h: Use new include files for ECOFF symtab.
* config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}:
Don't need to bring in mipsread.o specially any more.
Stu Grossman [Fri, 3 Apr 1992 03:55:42 +0000 (03:55 +0000)]
* mipsread.c (fixup_sigtramp): Also look for _sigtramp as a real
routine (for Irix-4.x). Make many funcs static and void.
* mips-tdep.c (mips-frame-chain): Clean up, simplify.
* (init_extra_frame_info): Don't trash cached value of frame
pointer register. This fixes backtracing through routines that use
alloca(). Generally clean up declarations of functions, and use
typedefs and macros to reference data structures as appropriate.
* tm-irix3.h, tm-mips.h (EXTRA_FRAME_INFO): use proper type for
proc_desc element.
John Gilmore [Fri, 3 Apr 1992 01:47:27 +0000 (01:47 +0000)]
* Makefile.in: Now that we have sym.h and symconst.h, compile
coff-msym.c on all systems.
* coff-msym.c: Update include files and comments; add weakext bit.
Fred Fish [Thu, 2 Apr 1992 18:00:10 +0000 (18:00 +0000)]
Fix bug in values.c unpacking signed characters on hosts where the default
character type is unsigned. Add some cases to the tables in procfs.c
for constants defined in newer SVR4 systems and reorder the tests for
ioctl support of resetting the inherit-on-fork flag to favor the latest
method using PIOCRESET.
John Gilmore [Thu, 2 Apr 1992 11:56:14 +0000 (11:56 +0000)]
* buildsym.c (read_struct_type): Avoid coredump when C++
abbreviated type name is messed up. Reported by Joe Buck.
FIXME, we need to determine whether GDB or GCC needs to be
smarter to correctly locate this type name. p*927 circumvention,
needs real fix when Tiemann's back.
Fred Fish [Wed, 1 Apr 1992 19:46:14 +0000 (19:46 +0000)]
Many changes to procfs.c, mostly to expand the "info proc" command and to
fix a couple of small bugs. Changes to other files mostly to fix minor
things pointed out by the SGI compiler. See ChangeLog for complete details.
Fred Fish [Wed, 1 Apr 1992 03:09:02 +0000 (03:09 +0000)]
Changes in procfs.c to fix bug with inferior's siginfo struct getting
needlessly stomped. Changes in elfread.c and solib.c to fix DWARF
processing, broken by other recent changes.
Stu Grossman [Tue, 31 Mar 1992 01:21:01 +0000 (01:21 +0000)]
* mipsread.c (parse_symbol, parse_procedure): Re-do the way that
.gdbinfo. symbols are created. Move creation from parse_procedure
to parse_symbol, where it is fairly easy to grow the symtab. This
also fixes a symtab trashing bug on all mips-based systems.
* (got_numargs, lookup_numargs, free_numargs): Delete. Not
needed anymore.
* tm-mips.h, tm-iris3.h, mips-tdep.c, mipsread.c: Re-do struct
mips_extra_func_info, and all the PROC_xxx macros that look at it.
John Gilmore [Sun, 29 Mar 1992 23:18:31 +0000 (23:18 +0000)]
* Makefile.in (VERSION): Roll to 4.4.7.
(HFILES): Add call-cmds.h.
* call-cmds.h: New header for command fns called by other files.
* breakpoint.c (watchpoints_info): Remove, same as breakpoints_info.
(breakpoint_1): Remove unused type arg. Change callers.
John Gilmore [Sun, 29 Mar 1992 18:45:43 +0000 (18:45 +0000)]
* bout.c, coff-a29k.c, coff-i960.c: Lint.
* configure.in: Add new host and target configs.
* elf.c (bfd_prstatus, bfd_fpregset): Avoid typename of register
structs, which vary; just use member name.
(elf_object_p, elf_core_file_p): Lint, fix comments.
* config/sparc-elf.mt, hosts/sysv4.h: New config files.
Fred Fish [Sat, 28 Mar 1992 21:06:23 +0000 (21:06 +0000)]
Add OBJF_SYMS flag and use it to decide whether or not we have already
tried to read symbols from a file, for mapped objfiles. This fixes a
memory leak (actually a constant memory growth) due to reading symbol
files with no debug info and thus generating no psymtabs or symtabs.
Most typically happened with shared libraries.
Fred Fish [Fri, 27 Mar 1992 01:11:08 +0000 (01:11 +0000)]
Document requirements for calling mmcheck to install corruption checking
hooks and set up to enforce the requirements. However, we still allow
unconditional installation until some complications are resolved.
Fred Fish [Fri, 27 Mar 1992 01:04:14 +0000 (01:04 +0000)]
Mostly changes to dbxread.c to preserve stringtab's on a per-objfile
basis, for use in expanding psymtabs to full symtabs. See ChangeLog
for other details.
Per Bothner [Thu, 26 Mar 1992 21:22:50 +0000 (21:22 +0000)]
* rs6000-pinsn.c: Make dis-assembly output more like
other targets: Don't print instruction in hex before
the assembly; use print_address to print out jump
destinations.
Per Bothner [Wed, 25 Mar 1992 23:07:16 +0000 (23:07 +0000)]
* command.c, main.c (various places): Use ctype.h macros
(such as isupper(x)), instead of hard-wiring in ASCII-isms
(such as (x >= 'A' && x <= 'Z')).
(There are still more of these in other files.)
* main.c (defined_command): Lower-case the user's
new command before entering it. Needed because
command lookup is case-insensitive (and also lower-cases).
(Based on Metin's earlier patch.)