From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19705 invoked by alias); 15 Jun 2006 14:01:34 -0000 Received: (qmail 19696 invoked by uid 22791); 15 Jun 2006 14:01:34 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 15 Jun 2006 14:01:31 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FqsPY-0004qk-Eh; Thu, 15 Jun 2006 10:01:28 -0400 Date: Thu, 15 Jun 2006 15:05:00 -0000 From: Daniel Jacobowitz To: Peter Choi Cc: gdb@sources.redhat.com Subject: Re: gdb remote debugging with threads Message-ID: <20060615140128.GC18274@nevyn.them.org> Mail-Followup-To: Peter Choi , gdb@sources.redhat.com References: <20060615102134.82541.qmail@web42106.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060615102134.82541.qmail@web42106.mail.mud.yahoo.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00094.txt.bz2 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