This is the mail archive of the gdb@sourceware.org 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: Wrong current execution position!


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


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