[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/31734] [binutils, readelf] dwarf4 .debug_str_offsets secti
From: |
vries at gcc dot gnu.org |
Subject: |
[Bug binutils/31734] [binutils, readelf] dwarf4 .debug_str_offsets section printed incorrectly |
Date: |
Mon, 13 May 2024 07:02:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31734
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Fixed by:
...
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index c5ccc50dae7..8125c64e1b6 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -7969,6 +7969,7 @@ display_debug_str_offsets (struct dwarf_section *section,
length = section->size;
curr = section->start;
entries_end = end;
+ debug_str_offsets_hdr_len = 0;
printf (_(" Length: %#" PRIx64 "\n"), length);
printf (_(" Index Offset [String]\n"));
...
with which we get:
...
Contents of the .debug_str_offsets.dwo section (loaded from
/home/vries/gdb/a-hello.dwo):
Length: 0xb14
Index Offset [String]
0 00000000 __FLT16_NORM_MAX__
6.55040000000000000000000000000000000e+4F16
1 0000003f _SIZE_T_
2 00000049 __SIG_ATOMIC_MAX__ 0x7fffffff
...
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/31734] New: [binutils, readelf] dwarf4 .debug_str_offsets section printed incorrectly, vries at gcc dot gnu.org, 2024/05/13
- [Bug binutils/31734] [binutils, readelf] dwarf4 .debug_str_offsets section printed incorrectly,
vries at gcc dot gnu.org <=
- [Bug binutils/31734] [binutils, readelf] dwarf4 .debug_str_offsets section printed incorrectly, vries at gcc dot gnu.org, 2024/05/13
- [Bug binutils/31734] [binutils, readelf] dwarf4 .debug_str_offsets section printed incorrectly, amodra at gmail dot com, 2024/05/13
- [Bug binutils/31734] [binutils, readelf] dwarf4 .debug_str_offsets section printed incorrectly, vries at gcc dot gnu.org, 2024/05/14
- [Bug binutils/31734] [binutils, readelf] dwarf4 .debug_str_offsets section printed incorrectly, cvs-commit at gcc dot gnu.org, 2024/05/15
- [Bug binutils/31734] [binutils, readelf] dwarf4 .debug_str_offsets section printed incorrectly, vries at gcc dot gnu.org, 2024/05/15