Re: Wrong current execution position!

s88
2006-05-16T11:35:55Z

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