aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.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/elfread.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/elfread.c')
-rw-r--r--gdb/elfread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index b9e1568..d143e63 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -743,7 +743,7 @@ elf_symfile_read (struct objfile *objfile, int mainline)
if (dwarf2_has_info (objfile))
{
/* DWARF 2 sections */
- dwarf2_build_psymtabs (objfile, mainline);
+ dwarf2_build_psymtabs (objfile);
}
/* FIXME: kettenis/20030504: This still needs to be integrated with