* coffread.c (coff_symfile_read): Parse DWARF2 info if present.
authorEli Zaretskii <eliz@gnu.org>
Sun, 1 Jul 2001 10:04:58 +0000 (10:04 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 1 Jul 2001 10:04:58 +0000 (10:04 +0000)
gdb/ChangeLog
gdb/coffread.c

index 48f705cce027e65c77a3ae496e6858b62ce02398..710c7bcc85760af7d97fe9609b711a139a69b72d 100644 (file)
@@ -1,3 +1,7 @@
+2001-07-01  Mark Elbrecht <snowball@bigfoot.com>
+
+       * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
+
 2001-06-28  Elena Zannoni  <ezannoni@redhat.com>
 
        * TODO: Add import of readline 4.2 as a gdb 5.2 task.
index fddf1e6cebfa4aad82c0aae17d049b27e65e95f1..60ef89640a84f0c1559ae378e3c38eefe80b056a 100644 (file)
@@ -689,6 +689,11 @@ coff_symfile_read (struct objfile *objfile, int mainline)
                               info->stabsects,
                               info->stabstrsect->filepos, stabstrsize);
     }
+  if (dwarf2_has_info (abfd))
+    {
+      /* DWARF2 sections.  */
+      dwarf2_build_psymtabs (objfile, mainline);
+    }
 
   do_cleanups (back_to);
 }