aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
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/coffread.c
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/coffread.c')
-rw-r--r--gdb/coffread.c5
1 files changed, 5 insertions, 0 deletions
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);
}