This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/24070] Dwarf macro info has bad file numbers
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Sep 2005 01:12:11 -0000
- Subject: [Bug debug/24070] Dwarf macro info has bad file numbers
- References: <20050926225622.24070.jimb@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-27 01:12 -------
The difference between 32 and 64bit:
--- 64 2005-09-27 03:10:18.552798040 +0200
+++ 32 2005-09-27 03:10:26.250627792 +0200
@@ -1,7 +1,7 @@
Dump of debug contents of section .debug_line:
- Length: 388
+ Length: 385
DWARF Version: 2
Prologue Length: 364
Minimum Instruction Length: 1
@@ -9,7 +9,7 @@ Dump of debug contents of section .debug
Line Base: -5
Line Range: 14
Opcode Base: 10
- (Pointer size: 8)
+ (Pointer size: 4)
Opcodes:
Opcode 1 has 0 args
@@ -53,8 +53,9 @@ Dump of debug contents of section .debug
Line Number Statements:
Extended opcode 2: set Address to 0x0
Special opcode 8: advance Address by 0 to 0x0 and Line by 3 to 4
- Special opcode 61: advance Address by 4 to 0x4 and Line by 0 to 4
- Advance PC by 2 to 6
+ Advance PC by constant 17 to 0x11
+ Special opcode 159: advance Address by 11 to 0x1c and Line by 0 to 4
+ Advance PC by 2 to 1e
Extended opcode 1: End of Sequence
@@ -565,7 +566,7 @@ Contents of the .debug_macinfo section:
DW_MACINFO_define - lineno : 119 macro : SEEK_CUR 1
DW_MACINFO_define - lineno : 120 macro : SEEK_END 2
DW_MACINFO_define - lineno : 125 macro : P_tmpdir "/tmp"
- DW_MACINFO_start_file - lineno: 139 filenum: 18
+ DW_MACINFO_start_file - lineno: 139 filenum: 17
DW_MACINFO_define - lineno : 24 macro : L_tmpnam 20
DW_MACINFO_define - lineno : 25 macro : TMP_MAX 238328
DW_MACINFO_define - lineno : 26 macro : FILENAME_MAX 4096
@@ -579,7 +580,7 @@ Contents of the .debug_macinfo section:
DW_MACINFO_define - lineno : 149 macro : stderr stderr
DW_MACINFO_define - lineno : 449 macro : getc(_fp) _IO_getc (_fp)
DW_MACINFO_define - lineno : 491 macro : putc(_ch,_fp) _IO_putc (_ch, _fp)
- DW_MACINFO_start_file - lineno: 751 filenum: 19
+ DW_MACINFO_start_file - lineno: 751 filenum: 18
DW_MACINFO_end_file
DW_MACINFO_end_file
DW_MACINFO_start_file - lineno: 3 filenum: 16
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24070