aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-07-17 15:19:21 +0000
committerNick Clifton <nickc@redhat.com>2009-07-17 15:19:21 +0000
commit008f4c7834e85e993c2c37957afe3bd4221050c4 (patch)
tree3829ee8e20f4eee82028213e85b77cd818fb637a /binutils/dwarf.c
parenta6072eabf92ba8df9b9ba96ca06b078080d33928 (diff)
downloadgdb-008f4c7834e85e993c2c37957afe3bd4221050c4.zip
gdb-008f4c7834e85e993c2c37957afe3bd4221050c4.tar.gz
gdb-008f4c7834e85e993c2c37957afe3bd4221050c4.tar.bz2
* dwarf.c (display_debug_lines): If do_debug_lines has not been
set then default to displaying raw .debug_line section contents.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 5a42d79..18e63ee 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -2813,6 +2813,9 @@ display_debug_lines (struct dwarf_section *section, void *file)
return 0;
}
+ if (do_debug_lines == 0)
+ do_debug_lines |= FLAG_DEBUG_LINES_RAW;
+
if (do_debug_lines & FLAG_DEBUG_LINES_RAW)
retValRaw = display_debug_lines_raw (section, data, end);