aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
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.c
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.c')
-rw-r--r--gdb/symfile.c2
1 files changed, 1 insertions, 1 deletions
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. */