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!


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

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