diff options
author | Tom Tromey <tromey@redhat.com> | 2013-04-08 14:59:03 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-04-08 14:59:03 +0000 |
commit | 95b23c5ab7a8e876eca6da23a4ccc5aeb340aeec (patch) | |
tree | 4991c30f64466d1a8410f68bc5c65e1049ae59ca /binutils/dwarf.c | |
parent | f9d5b7d1f86c740775dbe8744b9ab473d5f68e80 (diff) | |
download | binutils-redhat-95b23c5ab7a8e876eca6da23a4ccc5aeb340aeec.tar.gz |
* dwarf.c (process_debug_info): Check dwarf_cutoff_level.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 4f5aa2bfe6..2f877e79be 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -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); |