This is the mail archive of the gdb@sources.redhat.com 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: bogus bkpt, using #line directives


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


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