This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Wrong current execution position!
- From: Daniel Jacobowitz <drow at false dot org>
- To: s88 <dave dot tw at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 16 May 2006 08:39:00 -0400
- Subject: Re: Wrong current execution position!
- References: <c9d32f760605160429kdf43b72od119e9b91b064f03@mail.gmail.com> <c9d32f760605160435w30ccc14dnad038a7a742f705e@mail.gmail.com>
On Tue, May 16, 2006 at 07:35:48PM +0800, s88 wrote:
> But, as I step tracing the source code in the working/B directory,
> the current execution position is on the wrong place, somewhere likes
> in the comments.
Were you in the correct file? If you were, then it is likely that
either (A) the compiler has emitted bogus debugging information, or
(B) the version of the file GDB was reading was different from the
version used when you compiled.
--
Daniel Jacobowitz
CodeSourcery