This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [NEED HELP] Problem to multithread remote debugging with GDBserver
- 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: Thu, 27 Oct 2005 21:50:04 -0700 (PDT)
- Subject: Re: [NEED HELP] Problem to multithread remote debugging with GDBserver
Hi,
How to set solib-absolute-prefix & solib-search-path
then??? in case the library path on both sides (host &
target) are identical???
Regards.
Peter Choi
--- Daniel Jacobowitz <drow@false.org> wrote:
> On Thu, Oct 27, 2005 at 03:26:55AM -0700, Peter Choi
> wrote:
> > Hi,
> >
> > I've heard that GDB 5.3 onwards has supported
> remote
> > debugging multiple thread programs, but I still
> fail
> > to do so. I wonder what I have done wrong.
>
> > First we set everything up and connect:
> >
>
> First of all don't do that. Use
> solib-absolute-prefix and make a host
> environment that looks like the target. It's much
> more likely to work.
>
> Second, you didn't mention until here that your
> target was cris. It
> just takes a couple of lines to implement
> multithread support in
> gdbserver, but they have to be done for each port; I
> don't know if
> anyone has done that for cris yet. In fact
> gdbserver didn't support
> cris until after the release of 6.3, so you should
> be using CVS.
>
>
> --
> Daniel Jacobowitz
> CodeSourcery, LLC
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com