* coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
authorMark Alexander <marka@cygnus>
Wed, 3 Jul 1996 05:11:40 +0000 (05:11 +0000)
committerMark Alexander <marka@cygnus>
Wed, 3 Jul 1996 05:11:40 +0000 (05:11 +0000)
commite74acce48c1b4efc29fd1e9e84639b77383aa002
tree11d2d6bd0a7cdc15c36480e244625e817eb65e1b
parent7647e0dd79067a650898281d3cffc4746aa09fae
* coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
os9kread.c: Replace identical sym_offsets functions with
default_symfile_offsets.
* somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
macro to allocate section_offsets.
* symfile.c (default_symfile_offsets): New function.
* symfile.h: Declare default_symfile_offsets.
* symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
simplify allocation of section_offsets.
gdb/ChangeLog
gdb/coffread.c
gdb/dbxread.c
gdb/elfread.c
gdb/mipsread.c
gdb/nlmread.c
gdb/os9kread.c
gdb/somread.c
gdb/symfile.c
gdb/symfile.h
gdb/symtab.h