fortran/2048: cannot set breakpoint in preprocessed fortran code

Daniel Jacobowitz drow@false.org
Tue Dec 6 15:28:00 GMT 2005


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



More information about the Gdb-prs mailing list