aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/coffread.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 48f705c..710c7bc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/coffread.c b/gdb/coffread.c
index fddf1e6..60ef896 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -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);
}