aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-05-13 14:33:39 +0100
committerNick Clifton <nickc@redhat.com>2021-05-13 14:33:39 +0100
commit0522d0165adaa6fccb4d4ff706d0e0b2996e4b80 (patch)
treee97a9c872e1275a5269a47b1774ef65292db806b /binutils/dwarf.c
parentc4375dd764b2e28b585048c55014d4d8fbe2e820 (diff)
downloadgdb-0522d0165adaa6fccb4d4ff706d0e0b2996e4b80.zip
gdb-0522d0165adaa6fccb4d4ff706d0e0b2996e4b80.tar.gz
gdb-0522d0165adaa6fccb4d4ff706d0e0b2996e4b80.tar.bz2
revert previous delta
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 20ffe4b..2794a15 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -7509,13 +7509,6 @@ display_debug_str_offsets (struct dwarf_section *section,
printf (_(" Length: %#lx\n"), (unsigned long) length);
printf (_(" Version: %#lx\n"), (unsigned long) version);
printf (_(" Index Offset [String]\n"));
-
- if (entries_end > end)
- {
- warn (_("Length value (0x%s) > data remaining in the section (0x%lx)\n"),
- dwarf_vmatoa ("x", length), (long)(end - curr));
- entries_end = end;
- }
}
for (idx = 0; curr < entries_end; idx++)