This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Wrong current execution position!
- From: s88 <dave dot tw at gmail dot com>
- To: gdb at sourceware dot org
- Date: Tue, 16 May 2006 19:35:48 +0800
- Subject: Re: Wrong current execution position!
- References: <c9d32f760605160429kdf43b72od119e9b91b064f03@mail.gmail.com>
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