From: Nick Clifton Date: Fri, 17 Jul 2009 15:19:21 +0000 (+0000) Subject: * dwarf.c (display_debug_lines): If do_debug_lines has not been X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=008f4c7834e85e993c2c37957afe3bd4221050c4;p=binutils-gdb.git * dwarf.c (display_debug_lines): If do_debug_lines has not been set then default to displaying raw .debug_line section contents. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0eedd9d4486..20c69b5bcd3 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2009-07-17 Nick Clifton + + * dwarf.c (display_debug_lines): If do_debug_lines has not been + set then default to displaying raw .debug_line section contents. + 2009-07-14 Jan Kratochvil Support unordered .debug_info references to .debug_ranges. diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 5a42d798e77..18e63ee00bd 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);