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/symfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/symfile.c') diff --git a/gdb/symfile.c b/gdb/symfile.c index b635691..6e1b915 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -886,7 +886,7 @@ syms_from_objfile (struct objfile *objfile, init_objfile_sect_indices (objfile); } - (*objfile->sf->sym_read) (objfile, mainline); + (*objfile->sf->sym_read) (objfile, add_flags); /* Discard cleanups as symbol reading was successful. */ -- cgit v1.1