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/dbxread.c | |
parent | 2009-12-07 Tristan Gingold <gingold@adacore.com> (diff) | |
download | binutils-gdb-f43525316b6a7a4c300e3198e4dc0bb886cc8dd7.tar.gz binutils-gdb-f43525316b6a7a4c300e3198e4dc0bb886cc8dd7.tar.bz2 binutils-gdb-f43525316b6a7a4c300e3198e4dc0bb886cc8dd7.zip |
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/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index a1bd8e0bb13..816a355be52 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -520,13 +520,10 @@ record_minimal_symbol (char *name, CORE_ADDR address, int type, /* Scan and build partial symbols for a symbol file. We have been initialized by a call to dbx_symfile_init, which put all the relevant info into a "struct dbx_symfile_info", - hung off the objfile structure. - - MAINLINE is true if we are reading the main symbol - table (as opposed to a shared lib or dynamically loaded file). */ + hung off the objfile structure. */ static void -dbx_symfile_read (struct objfile *objfile, int mainline) +dbx_symfile_read (struct objfile *objfile, int symfile_flags) { bfd *sym_bfd; int val; |