This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/35615] Debug information for .debug_loc section incorrect
- From: "deuling at de dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2008 16:52:37 -0000
- Subject: [Bug debug/35615] Debug information for .debug_loc section incorrect
- References: <bug-35615-15932@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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