summaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-12-07 09:47:38 +0000
committerTristan Gingold <gingold@adacore.com>2009-12-07 09:47:38 +0000
commit6cd2fcb4dda468b8e4efa2a2d3e1be39902b6c90 (patch)
tree9eba2cc6499ec3081dc278c1a1faf8a3b51aef2d /gdb/symfile.h
parent8890fd718efa3320c54f4c93403922a5e68a773e (diff)
downloadgdb-6cd2fcb4dda468b8e4efa2a2d3e1be39902b6c90.tar.gz
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 40f7db7176c..9061009f705 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);