From 6cd2fcb4dda468b8e4efa2a2d3e1be39902b6c90 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 7 Dec 2009 09:47:38 +0000 Subject: 2009-12-07 Tristan Gingold * 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. --- gdb/symfile.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gdb/symfile.h') 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); -- cgit v1.2.1