forked from Imagelibrary/binutils-gdb
* dwarf.c (process_debug_info): Check dwarf_cutoff_level.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2013-04-08 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* dwarf.c (process_debug_info): Check dwarf_cutoff_level.
|
||||
|
||||
2013-04-08 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* dwarf-mode.el: Bump version number.
|
||||
|
||||
@@ -2379,7 +2379,9 @@ process_debug_info (struct dwarf_section *section,
|
||||
break;
|
||||
}
|
||||
|
||||
if (!do_loc && die_offset >= dwarf_start_die)
|
||||
if (!do_loc && die_offset >= dwarf_start_die
|
||||
&& (dwarf_cutoff_level == -1
|
||||
|| level < dwarf_cutoff_level))
|
||||
printf (_(" <%d><%lx>: Abbrev Number: 0\n"),
|
||||
level, die_offset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user