diff options
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r-- | gdb/elfread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c index 83a1862..7b13cb9 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -575,7 +575,7 @@ elf_symfile_read (struct objfile *objfile, int mainline) str_sect->filepos, bfd_section_size (abfd, str_sect)); } - if (dwarf2_has_info (abfd)) + if (dwarf2_has_info (objfile)) { /* DWARF 2 sections */ dwarf2_build_psymtabs (objfile, mainline); |