2011-05-26 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / gdb / elfread.c
index 6c6a7aff75de0958e6eedd6b16b4740dbde61dc4..825df0f1da67b962002cdc7cbfcd0b0632162d1d 100644 (file)
@@ -1391,7 +1391,7 @@ elf_symfile_read (struct objfile *objfile, int symfile_flags)
                                bfd_section_size (abfd, str_sect));
     }
 
-  if (dwarf2_has_info (objfile))
+  if (dwarf2_has_info (objfile, NULL))
     {
       /* elf_sym_fns_gdb_index cannot handle simultaneous non-DWARF debug
         information present in OBJFILE.  If there is such debug info present
@@ -1437,7 +1437,7 @@ elf_symfile_read (struct objfile *objfile, int symfile_flags)
 static void
 read_psyms (struct objfile *objfile)
 {
-  if (dwarf2_has_info (objfile))
+  if (dwarf2_has_info (objfile, NULL))
     dwarf2_build_psymtabs (objfile);
 }
 
This page took 0.025363 seconds and 4 git commands to generate.