From f43525316b6a7a4c300e3198e4dc0bb886cc8dd7 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 7 Dec 2009 09:47:40 +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/somread.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/somread.c') diff --git a/gdb/somread.c b/gdb/somread.c index d519d2c..04f0684 100644 --- a/gdb/somread.c +++ b/gdb/somread.c @@ -292,9 +292,6 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, SECTION_OFFSETS is a set of offsets to apply to relocate the symbols in each section. This is ignored, as it isn't needed for SOM. - 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 @@ -315,7 +312,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, capability even for files compiled without -g. */ static void -som_symfile_read (struct objfile *objfile, int mainline) +som_symfile_read (struct objfile *objfile, int symfile_flags) { bfd *abfd = objfile->obfd; struct cleanup *back_to; -- cgit v1.1