This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fortran/2048: cannot set breakpoint in preprocessed fortran code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]