Fred Fish [Sat, 18 Apr 1992 02:30:28 +0000 (02:30 +0000)]
Back out of TYPE_FLAG_FUND_TYPE change, solve the problem in valprint.c by
just printing the type name from the type if it is not otherwise handled.
Implement new handling of the ".syms" file for reusable symbol files.
* bfd.c, Makefile.in: added tekhex
* aoutx.h (set_section_contents): pages should be padded to the
size of a page, not the size of a segment.
* configure.in: added go32 host and i386-aout target.
* i386aout.c, libaout.h: now works for go32 target
* ieee.c: fix bit rot.
* seclet.c: support for padding seclet type.
* relax.c: added handling for new "padding" seclet type, used to
fill out gaps between section.
* ldgram.y, ldlex.l: now -defsym on the command line is done
properly.
Fred Fish [Wed, 15 Apr 1992 05:42:00 +0000 (05:42 +0000)]
Add TYPE_FLAG_FUND_TYPE bit to the flags member of the type structure,
and use it to decide when to print the actual type name rather than
trying to invent the name of a fundamental type. This clears up the
confusion between int/long when they are the same sizes, removes one
obstacle to multi-language support (previously valprint.c thought
everything was a C type), and allows gdb to support distinctions between
explicitly and implicitly signed types when the compiler supports such
distinction in the debug output (as does every ANSI compiler I tested
except for gcc).
Fred Fish [Wed, 15 Apr 1992 05:32:58 +0000 (05:32 +0000)]
Ifdef-out debugging code, and ifdef-out code that aborts on unhandled
sections (this was causing needless gdb aborts; gdb doesn't care about
these sections anyway).
Fred Fish [Tue, 14 Apr 1992 21:41:30 +0000 (21:41 +0000)]
Fix couple of function args that expect to be passed CONST pointers, and
boolean functions that were returning NULL, which can be "void *" rather
than just bare 0.
Fred Fish [Tue, 14 Apr 1992 21:34:02 +0000 (21:34 +0000)]
Pick up SGI defines for langCplusplus, langCplusplusV2, stStruct, stUnion,
and stEnum. The last three are required to be able to build the current
checked in gdb on a non-sgi machine.
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).