From 42a076f06faf1d48e60fa3833d5e19042a55aeb6 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 1 Jul 2001 10:04:58 +0000 Subject: [PATCH] * coffread.c (coff_symfile_read): Parse DWARF2 info if present. --- gdb/ChangeLog | 4 ++++ gdb/coffread.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 48f705cce02..710c7bcc857 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-07-01 Mark Elbrecht + + * coffread.c (coff_symfile_read): Parse DWARF2 info if present. + 2001-06-28 Elena Zannoni * TODO: Add import of readline 4.2 as a gdb 5.2 task. diff --git a/gdb/coffread.c b/gdb/coffread.c index fddf1e6cebf..60ef89640a8 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); } -- 2.30.2