aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-07-16 13:57:15 +0100
committerNick Clifton <nickc@redhat.com>2021-07-16 13:57:15 +0100
commitc58830e49d917dcc80c520b22638a1902ce8f932 (patch)
tree7a923be011db0d1b08317aa3255e4b77d81c4e6f /binutils/dwarf.c
parent66b3b362dc49e222f526dd92cd8fe1253adb8238 (diff)
downloadgdb-c58830e49d917dcc80c520b22638a1902ce8f932.zip
gdb-c58830e49d917dcc80c520b22638a1902ce8f932.tar.gz
gdb-c58830e49d917dcc80c520b22638a1902ce8f932.tar.bz2
Updated Swedish translation for the binutils sub-directory
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index bd030f3..213b5d1 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -3463,8 +3463,10 @@ process_debug_info (struct dwarf_section * section,
relocations to an object file, or if the file is corrupt. */
if (length > (size_t) (end - section_begin))
{
- warn (_("Corrupt unit length (0x%s) found in section %s\n"),
- dwarf_vmatoa ("x", length), section->name);
+ warn (_("Corrupt unit length (got 0x%s expected at most 0x%s) in section %s\n"),
+ dwarf_vmatoa ("x", length),
+ dwarf_vmatoa ("x", end - section_begin),
+ section->name);
return false;
}
section_begin += length;