Per Bothner [Tue, 14 Apr 1992 19:02:48 +0000 (19:02 +0000)]
* configure: Add support for 'subdirs' variable, which is
like 'configdirs', except that configure doesn't re-invoke
itself for subdirs, it just creates a Makefile for each subdir.
* configure.texi: Document subdirs.
Fred Fish [Tue, 14 Apr 1992 04:09:00 +0000 (04:09 +0000)]
Extensive changes to replace swapin() function with target_to_host()
and fix all usages to be independent of host/target integer size
mismatches. However, cross debugging will still not work until the
sign extension issue is resolved either by fixing the bfd library
or implementing sign extension in the gdb code.
Mark Eichin [Mon, 13 Apr 1992 15:01:54 +0000 (15:01 +0000)]
Massive changes. Elf sections are now processed into BFD sections only
if they make sense as independent sections; symbols and relocs are
turned into BFD symbols and relocs; objects are now created.
objdump and copy mostly work on .o files.
this check-in will be followed by gdb testing.
the code has *not* yet been split up the way coff is to
support multiple architectures and bit widths.
no ChangeLog entries yet; too big... nearly everything changed.
John Gilmore [Sun, 12 Apr 1992 06:40:04 +0000 (06:40 +0000)]
* mipsread.c (parse_partial_symbols): Complain when sh->index is
too high or when skipping `forwards' moves us backwards.
(parse_type): Print mis-guessed tag name in complaint.
(parse_external): Eliminate cur_stab and obscure top_stack clobbers.
(parse_procedure): Do not attempt to create symbols; just fill in
the SYMBOL_VALUE field of a .gdbinfo. symbol if we can find one.
(psymtab_to_symtab_1): Split up `stabs' from `native ecoff' code
for clarity. Set top_stack before calling parse_external. In
stabs, sort symbols before calling parse_procedure.
* mipsread.c: Lint.
* symmisc.c (std_in, std_out, std_err): Add vars to access std
FILE *'s when debugging GDB (e.g. as args to dump_symtab).
* Makefile.in: Remove stage* targets. Avoid echo on recursive
makes. Eliminate doc/Makefile from tar.Z file if doc/Makefile.in
exists.
* mipsread.c: Cleanup. Add more complaints for unhandled cases.
Remove new symbol types and such to ../include/coff/symconst.h.
(parse_symbol): Simplify code for parsing struct/enum/unions.
(parse_type): Handle `long long' types.
(upgrade_type): Handle `const' qualifier.
(parse_partial_symbols): fix indentation, clean a bit.
John Gilmore [Sat, 11 Apr 1992 00:54:44 +0000 (00:54 +0000)]
* gdb.texinfo: Update for GDB-4.5. Move `Formatting
Documentation' ahead of `Installing GDB' to match README.
Update shared library doc, -readnow and -mapped, and directory
structure (add glob and mmalloc). Update configure doc.
Stu Grossman [Fri, 10 Apr 1992 15:33:31 +0000 (15:33 +0000)]
* Makefile.in (depend): Fix dependancy generation so that it does
not include gcc 'fixincluded' files, which are usually in a system
specific location.
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.