aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-07-01 10:04:58 +0000
committerEli Zaretskii <eliz@gnu.org>2001-07-01 10:04:58 +0000
commit42a076f06faf1d48e60fa3833d5e19042a55aeb6 (patch)
tree945694fcc5ecddc383e6524460e6e9ef7736d748 /gdb
parentb811889fc53d60b0fbba9994179f2a665893e292 (diff)
downloadgdb-42a076f06faf1d48e60fa3833d5e19042a55aeb6.zip
gdb-42a076f06faf1d48e60fa3833d5e19042a55aeb6.tar.gz
gdb-42a076f06faf1d48e60fa3833d5e19042a55aeb6.tar.bz2
* coffread.c (coff_symfile_read): Parse DWARF2 info if present.
Diffstat (limited to 'gdb')
-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);
}