Wrong current execution position!

s88 dave.tw@gmail.com
Tue May 16 13:06:00 GMT 2006


Hi all:
    As I using the gdb-6.3 to do my debugging jobs. Recently I meet a
"wrong current execution position" problem.
 My working dir is as following:
 working/
 working/A
 working/B
 working/C
  working/D/E/a.out

 my source files and object files are separated in those folders.

 When I am debugging, I added the source search dir in gdb. Something
like "dir ${MY_HOME}/working/"

 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.

 Could any kind man tell me how to solve this problem?? Thanx very very much....

 Dave.


-- 
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


More information about the Gdb mailing list