Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Peter Choi <peter_tkchoi@yahoo.com>
Cc: gdb@sources.redhat.com
Subject: Re: gdb remote debugging with threads
Date: Thu, 15 Jun 2006 15:05:00 -0000	[thread overview]
Message-ID: <20060615140128.GC18274@nevyn.them.org> (raw)
In-Reply-To: <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


  reply	other threads:[~2006-06-15 14:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-15 13:59 Peter Choi
2006-06-15 15:05 ` Daniel Jacobowitz [this message]
2006-06-15 17:13   ` Jan Kratochvil
2006-06-15 18:57     ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060615140128.GC18274@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=peter_tkchoi@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox