aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-12-02 11:44:35 +0000
committerTristan Gingold <gingold@adacore.com>2009-12-02 11:44:35 +0000
commitf29dff0a0940505506d27e54afbd750b8409846b (patch)
tree5173e101e9b96c9d61f96c35c4558c5300991883 /gdb/coffread.c
parentc67a9c901aa0c78a85229ffc837a97d2589a99f8 (diff)
downloadgdb-f29dff0a0940505506d27e54afbd750b8409846b.zip
gdb-f29dff0a0940505506d27e54afbd750b8409846b.tar.gz
gdb-f29dff0a0940505506d27e54afbd750b8409846b.tar.bz2
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 d66312b..84edfc5 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);