This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: symtab/1713: GDB doesn't know about source files specified with #line
- 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: 21 Jul 2004 16:18:01 -0000
- Subject: Re: symtab/1713: GDB doesn't know about source files specified with #line
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR symtab/1713; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: frank@jrware.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: symtab/1713: GDB doesn't know about source files specified with #line
Date: Wed, 21 Jul 2004 12:07:18 -0400
On Sat, Jul 17, 2004 at 09:59:54PM -0000, frank@jrware.com wrote:
> Source files specified with "#line" preprocessor directives are not
> recognized, i.e. you can't set break points using those file names.
>
> However, if program execution stops near the "#line" directive, the
> "#line"-specified source files are recognized. This seems to indicate
> a flaw in the initialization of the valid source file list which is
> corrected once execution of the program by gdb has begun.
Could you try a CVS snapshot? I think Joel has fixed this.
--
Daniel Jacobowitz