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!


Thank you Daniel!!

I have already solved my problem....
I'm stocked in the situation (B) you mentioned.
I do the MAKE under the working/ dir for the library, but I forgot to
update(re-MAKE) the execution file in the   working/D/E/a.out...

What a stupid man I am?! :D

anyway Thankx!!

Dave.

On 5/16/06, Daniel Jacobowitz <drow@false.org> wrote:
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



--
Win, Che-Neng.
System  on Chip Design  Lab.
Dept. of Computer Science and Information Engineering,
National Chung Cheng University
E-mail : s88.tw@acm.org
phone:0963024006

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