[Bug debug/24070] Dwarf macro info has bad file numbers
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 27 01:16:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-27 01:16 -------
Likewise for .s files:
@@ -1502,7 +1502,7 @@
.byte 0x3 # Start new file
.uleb128 0x8b # Included from line number 139
.file 17 "/usr/include/bits/stdio_lim.h"
- .uleb128 0x12 # Filename we just started
+ .uleb128 0x11 # Filename we just started
.byte 0x1 # Define macro
.uleb128 0x18 # At line number 24
.ascii "L_tmpnam 20\0" # The macro
@@ -1543,7 +1543,7 @@
.byte 0x3 # Start new file
.uleb128 0x2ef # Included from line number 751
.file 18 "/usr/include/bits/sys_errlist.h"
- .uleb128 0x13 # Filename we just started
+ .uleb128 0x12 # Filename we just started
.byte 0x4 # End file
.byte 0x4 # End file
.byte 0x3 # Start new file
----
So this is definitely a bug in gcc and not in readelf.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24070
More information about the Gcc-bugs
mailing list