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)
- From: Peter Choi <peter_tkchoi at yahoo dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 22 Nov 2005 17:28:33 -0800 (PST)
- Subject: Re: multi-thread remote debugging i386-linux target (NEED HELP)
Hi,
1. Yes, the host and target runs exactly the same
libraries
2. How can I capture the debugger output to a file???
Please advise. Thank you for your attention.
Regards.
Peter Choi
--- Daniel Jacobowitz <drow@false.org> wrote:
> 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
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com