diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-12-07 09:47:40 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-12-07 09:47:40 +0000 |
commit | f43525316b6a7a4c300e3198e4dc0bb886cc8dd7 (patch) | |
tree | cfc52e46159ea3a7017b7c22b650d966839547a4 /gdb/elfread.c | |
parent | de1d8fb992ae375f46792f3d8ef9aadfc5378773 (diff) | |
download | gdb-f43525316b6a7a4c300e3198e4dc0bb886cc8dd7.zip gdb-f43525316b6a7a4c300e3198e4dc0bb886cc8dd7.tar.gz gdb-f43525316b6a7a4c300e3198e4dc0bb886cc8dd7.tar.bz2 |
2009-12-07 Tristan Gingold <gingold@adacore.com>
* symfile.h (struct sym_fns): Adjust comment on sym_read.
* symfile.c (syms_from_objfile): Pass all symfile flags to sym_read.
* dbxread.c (dbx_symfile_read): Rename mainline to symfile_flags,
adjust header comment.
* elfread.c (elf_symfile_read): Ditto.
* somread.c (som_symfile_read): Ditto.
* xcoffread.c (xcoff_initial_scan): Ditto.
* coffread.c (coff_symfile_read): Rename mainline to symfile_flags.
* machoread.c (macho_symfile_read): Ditto.
* mipsread.c (mipscoff_symfile_read): Ditto.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r-- | gdb/elfread.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c index f9052c1..dd844fc 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -576,9 +576,6 @@ elf_symtab_read (struct objfile *objfile, int type, in each section. We simplify it down to a single offset for all symbols. FIXME. - MAINLINE is true if we are reading the main symbol - table (as opposed to a shared lib or dynamically loaded file). - This function only does the minimum work necessary for letting the user "name" things symbolically; it does not read the entire symtab. Instead, it reads the external and static symbols and puts them in partial @@ -600,7 +597,7 @@ elf_symtab_read (struct objfile *objfile, int type, capability even for files compiled without -g. */ static void -elf_symfile_read (struct objfile *objfile, int mainline) +elf_symfile_read (struct objfile *objfile, int symfile_flags) { bfd *abfd = objfile->obfd; struct elfinfo ei; |