This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: bogus bkpt, using #line directives
- From: Daniel Jacobowitz <drow at false dot org>
- To: Allen Hopkins <allenh at eecs dot berkeley dot edu>
- Cc: gdb <gdb at sources dot redhat dot com>
- Date: Thu, 2 Dec 2004 15:57:54 -0500
- Subject: Re: bogus bkpt, using #line directives
- References: <41AF543D.9060804@eecs.berkeley.edu>
On Thu, Dec 02, 2004 at 09:43:25AM -0800, Allen Hopkins wrote:
> The program is very complex & I haven't yet been able to
> make a simple test case to demonstrate this. I'm sort of
> desperately hoping this looks familiar to somebody who can
> offer me some hope, or suggestions. I'm left wondering if I
> have to debug gdb, but I'd be in really unfamiliar territory.
Start by debugging GCC's generated line table. If you're using
DWARF-2, you can print it with readelf -wl. Does it put line markers
in sensible places?
--
Daniel Jacobowitz