This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: multi-thread remote debugging i386-linux target (NEED HELP)
On Mon, Nov 21, 2005 at 11:23:18PM -0800, Peter Choi wrote:
> Hi,
>
> 1. On my host, library files of my i386-linux target
> residues under directory /lib so well. So, need to add
> prefix by "solib-absolute-prefix".
Are the host and target running exactly the same libraries?
> 2. If I use "symb test" to load symbols from my test
> program on my host, I can then break in the main
> thread (But I can't see all other threads created).
>
> However, If I use "file test" to load my test
> program on my host, I CANNOT break at all. It simply
> halt at somewhere, not sending/receiving any debug
> packet at all. After all, it cannot stop at the end of
> my test program too.
>
> Please advise what can possibly go wrong. Thank you
> for your attention.
Please post a session transcript, including "set debug remote 1", so
that we can see what happened.
--
Daniel Jacobowitz
CodeSourcery, LLC