[Bug debug/35615] Debug information for .debug_loc section incorrect
deuling at de dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 18 16:53:00 GMT 2008
------- Comment #6 from deuling at de dot ibm dot com 2008-03-18 16:52 -------
./readelf --debug-dump=line give
for gfortran 4.1.2:
The Directory Table:
fortran
The File Name Table:
EntryÃÂDirÃÂ÷÷÷÷TimeÃÂ÷÷÷SizeÃÂ÷÷÷Name
1ÃÂ÷÷÷÷1ÃÂ÷÷÷÷÷÷0ÃÂ÷÷÷÷÷÷0ÃÂ÷÷÷÷÷÷neg_array.F
for gfortran 4.3:
The Directory Table is empty.
The File Name Table:
EntryÃÂDirÃÂ÷÷÷÷TimeÃÂ÷÷÷SizeÃÂ÷÷÷Name
1ÃÂ÷÷÷÷0ÃÂ÷÷÷÷÷÷0ÃÂ÷÷÷÷÷÷0ÃÂ÷÷÷÷÷÷^A
I think this is the reason that GDB is not able to recognize neg_array.F as a
source code file. Thus it gives:
(gdb) br MAIN__
Breakpoint 1 at 0x80485bd: file , line 1.
I guess this is an error in DWARF ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35615
More information about the Gcc-bugs
mailing list