This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: fortran/2048: cannot set breakpoint in preprocessed fortran code
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 6 Dec 2005 15:28:02 -0000
- Subject: Re: fortran/2048: cannot set breakpoint in preprocessed fortran code
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR fortran/2048; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: taschna@uni-muenster.de
Cc: gdb-gnats@sources.redhat.com
Subject: Re: fortran/2048: cannot set breakpoint in preprocessed fortran code
Date: Tue, 6 Dec 2005 10:20:56 -0500
On Tue, Dec 06, 2005 at 01:09:53PM -0000, taschna@uni-muenster.de wrote:
> (gdb) l
> 1 # 1 "main.F"
> 2 # 1 "/home/taschna/gdbtest//"
> 3 # 1 "<built-in>"
> 4 # 1 "<command line>"
> 5 # 1 "main.F"
> 6 PROGRAM Test
> 7 IMPLICIT NONE
> 8
> 9 WRITE(*,*) 'Hello World'
> 10
> (gdb) b 9
> No line 9 in file "main.f".
Does info source say that the filename is main.f? In that case, this
is a GCC bug; the debug info is incorrect.
--
Daniel Jacobowitz
CodeSourcery, LLC