This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb remote debugging with threads
- From: Daniel Jacobowitz <drow at false dot org>
- To: Peter Choi <peter_tkchoi at yahoo dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 15 Jun 2006 10:01:28 -0400
- Subject: Re: gdb remote debugging with threads
- References: <20060615102134.82541.qmail@web42106.mail.mud.yahoo.com>
On Thu, Jun 15, 2006 at 03:21:34AM -0700, Peter Choi wrote:
> Hi,
>
> Excuse me. I know GDB should have supported remote
> debugging with multi-threads, but I still encounter
> problem.
>
> I'm using GDB 6.3 (host=target=i686),
>
> case (1):
> I compile my program with shared library.
> To make the environment simple, I make the host
> computer and target computer two identical platform
> (ie. same i686 cpu and same library path).
>
> But when I run remote debugging, the following are
> reported:
> On the host computer running GDB, it reported:
> "warning: .dynamic section for "/lib/ld-linux.so.2" is
> not at the expected address.
>
> and when I use "info threads", I cannot see all
> other threads I have created during the execution.
Are you really, really sure that the two computers have the same
libraries? Use md5sum /lib/ld-linux.so.2 to check.
--
Daniel Jacobowitz
CodeSourcery