diff options
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index b524d17..1a01e00 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -2145,7 +2145,8 @@ display_debug_lines_raw (struct dwarf_section *section, if (info.li_length + initial_length_size > section->size) { warn - (_("The line info appears to be corrupt - the section is too small\n")); + (_("The information in section %s appears to be corrupt - the section is too small\n"), + section->name); return 0; } @@ -4872,7 +4873,7 @@ struct dwarf_section_display debug_displays[] = { { ".debug_info", ".zdebug_info", NULL, NULL, 0, 0 }, display_debug_info, &do_debug_info, 1, 0 }, { { ".debug_line", ".zdebug_line", NULL, NULL, 0, 0 }, - display_debug_lines, &do_debug_lines, 0, 0 }, + display_debug_lines, &do_debug_lines, 1, 0 }, { { ".debug_pubnames", ".zdebug_pubnames", NULL, NULL, 0, 0 }, display_debug_pubnames, &do_debug_pubnames, 0, 0 }, { { ".eh_frame", "", NULL, NULL, 0, 0 }, @@ -4886,7 +4887,7 @@ struct dwarf_section_display debug_displays[] = { { ".debug_pubtypes", ".zdebug_pubtypes", NULL, NULL, 0, 0 }, display_debug_pubnames, &do_debug_pubnames, 0, 0 }, { { ".debug_ranges", ".zdebug_ranges", NULL, NULL, 0, 0 }, - display_debug_ranges, &do_debug_ranges, 0, 0 }, + display_debug_ranges, &do_debug_ranges, 1, 0 }, { { ".debug_static_func", ".zdebug_static_func", NULL, NULL, 0, 0 }, display_debug_not_supported, NULL, 0, 0 }, { { ".debug_static_vars", ".zdebug_static_vars", NULL, NULL, 0, 0 }, |