COFF changes for dealing better with EPI 29K C compiler output.
authorJohn Gilmore <gnu@cygnus>
Sun, 21 Jun 1992 02:20:30 +0000 (02:20 +0000)
committerJohn Gilmore <gnu@cygnus>
Sun, 21 Jun 1992 02:20:30 +0000 (02:20 +0000)
commitf70be3e45afa60e5639ef0a4411470ccd094b39d
tree451a23a5504dbc7110536fb8c1773c954f74b4b8
parent0cc37e2948c2b7adf4a1fb4c484e2183c9e30726
COFF changes for dealing better with EPI 29K C compiler output.

* coffread.c (record_minimal_symbol):  Pass the minsym type to it.
Callers changed.
(coff_end_symtab):  Sort blocks if needed.  Complain if misordered.
(read_coff_symtab):  Move patch_opaque_types call from
coff_symfile_read.  Restrict it to symtabs from this objfile.
(process_coff_symbol: C_TPDEF):  Don't put ordinary foward
references on opaque type chain; just let coff_lookup_type handle 'em.
(decode_type):  Complain about tagndx values on
non-struct/union/enum types, which the EPI compiler tends to produce.

* symtab.c (list_symbols):  Make minimal symbol variable-finding work.

* tm-68k.h (FIX_CALL_DUMMY): Avoid alignment and byte order
dependency.

* elfread.c (elf_symfile_read):  Update bfd_elf_find_section
usage to match new prototype.  Include libbfd.h to get prototype.
gdb/ChangeLog
gdb/coffread.c
gdb/elfread.c
gdb/symtab.c
gdb/tm-68k.h