mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
revert previous delta
This commit is contained in:
@ -1,9 +1,3 @@
|
|||||||
2021-05-13 Nick Clifton <nickc@redhat.com>
|
|
||||||
|
|
||||||
PR 27861
|
|
||||||
* dwarf.c (display_debug_str_offsets): Warn if the length field is
|
|
||||||
larger than the amount of data remaining in the section.
|
|
||||||
|
|
||||||
2021-05-13 Alan Modra <amodra@gmail.com>
|
2021-05-13 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR 27861
|
PR 27861
|
||||||
|
@ -7509,13 +7509,6 @@ display_debug_str_offsets (struct dwarf_section *section,
|
|||||||
printf (_(" Length: %#lx\n"), (unsigned long) length);
|
printf (_(" Length: %#lx\n"), (unsigned long) length);
|
||||||
printf (_(" Version: %#lx\n"), (unsigned long) version);
|
printf (_(" Version: %#lx\n"), (unsigned long) version);
|
||||||
printf (_(" Index Offset [String]\n"));
|
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++)
|
for (idx = 0; curr < entries_end; idx++)
|
||||||
|
Reference in New Issue
Block a user