This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB doesn't show the correct line
- From: Daniel Jacobowitz <drow at false dot org>
- To: Otto Wyss <otto dot wyss at orpatec dot ch>
- Cc: gdb at sources dot redhat dot com
- Date: Sun, 20 Jun 2004 16:29:30 -0400
- Subject: Re: GDB doesn't show the correct line
- References: <40D5E480.4A68163@orpatec.ch>
On Sun, Jun 20, 2004 at 09:24:48PM +0200, Otto Wyss wrote:
> Since a few days GDB (6.1-debian) offsets the shown line by about 3
> lines. when I set a breakpoint at a function name of a class (C++) it
> stops and shows the line 3 more down. When I now step through (next)
> always the next line is shown, sometimes even empty lines. It seems the
> correct statements were processed. Is this a known problem and is there
> a workaround?
Not a known problem - test case?
Usually this means you've confused GDB about what version of a source
file it should be opening.
--
Daniel Jacobowitz