summaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-12-02 11:44:34 +0000
committerTristan Gingold <gingold@adacore.com>2009-12-02 11:44:34 +0000
commitf6ead6fc0a658a7afd05ef4ef3a7e87205acb35b (patch)
treea95815f79dc37af0ccb80f20f4a9e2703fd4ceba /gdb/coffread.c
parent5dd9099a78c68ed7236d05bc68577a5add112a94 (diff)
downloadgdb-f6ead6fc0a658a7afd05ef4ef3a7e87205acb35b.tar.gz
2009-12-02 Tristan Gingold <gingold@adacore.com>
* symfile.h (dwarf2_build_psymtabs): Remove mainline parameter in prototype. * dwarf2read.c (dwarf2_build_psymtabs): Remove mainline paramter in definition, simplify code assuming it is always 0. * coffread.c (coff_symfile_read): Adjust call. * elfread.c (elf_symfile_read): Ditto. * machoread.c (macho_symfile_read): Explicitely calls init_psymbol_list if mainline is set.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index d66312b8b07..84edfc55ecc 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -641,7 +641,7 @@ coff_symfile_read (struct objfile *objfile, int mainline)
if (dwarf2_has_info (objfile))
{
/* DWARF2 sections. */
- dwarf2_build_psymtabs (objfile, mainline);
+ dwarf2_build_psymtabs (objfile);
}
dwarf2_build_frame_info (objfile);