aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-12-07 09:47:40 +0000
committerTristan Gingold <gingold@adacore.com>2009-12-07 09:47:40 +0000
commitf43525316b6a7a4c300e3198e4dc0bb886cc8dd7 (patch)
treecfc52e46159ea3a7017b7c22b650d966839547a4 /gdb/symfile.h
parentde1d8fb992ae375f46792f3d8ef9aadfc5378773 (diff)
downloadgdb-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/symfile.h')
-rw-r--r--gdb/symfile.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 40f7db7..9061009 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -132,11 +132,10 @@ struct sym_fns
void (*sym_init) (struct objfile *);
- /* sym_read (objfile, mainline) Reads a symbol file into a psymtab
+ /* sym_read (objfile, symfile_flags) Reads a symbol file into a psymtab
(or possibly a symtab). OBJFILE is the objfile struct for the
- file we are reading. MAINLINE is 1 if this is the main symbol
- table being read, and 0 if a secondary symbol file (e.g. shared
- library or dynamically loaded file) is being read. */
+ file we are reading. SYMFILE_FLAGS are the flags passed to
+ symbol_file_add & co. */
void (*sym_read) (struct objfile *, int);