bogus bkpt, using #line directives

Daniel Jacobowitz drow@false.org
Thu Dec 2 20:58:00 GMT 2004


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



More information about the Gdb mailing list