From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27937 invoked by alias); 21 Feb 2004 01:37:56 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27905 invoked from network); 21 Feb 2004 01:37:52 -0000 Received: from unknown (HELO msrvr.intellambda.com) (207.5.82.234) by sources.redhat.com with SMTP; 21 Feb 2004 01:37:52 -0000 Message-ID: <4036B684.5040206@intellambda.com> Date: Sat, 21 Feb 2004 01:37:00 -0000 From: Albert Ho MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sources.redhat.com Subject: Re: gdbserver(ppc) segv on continue from gdb(x86) - v6.0 References: <4036B0DD.9030409@intellambda.com> <20040221011802.GA10016@nevyn.them.org> In-Reply-To: <20040221011802.GA10016@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00303.txt.bz2 Yeah. They look correct. I used the solib-absolute-prefix to point to the correct ppc lib. The host gdb is a native gdb configured with ./configure --target=powerpc-linux --build=i686-pc-linux-gnu Trying to debug why gdbserver segv, I ran "gdb gdbserver", "run :xxxx foo". But doing do gdbserver runs happily. And remote debugging is possible. I did strace on "gdb gdbserver" and "gdbserver :xxx foo". They all load the same lib. So lib should be ok here. Daniel Jacobowitz wrote: >On Fri, Feb 20, 2004 at 05:14:05PM -0800, Albert Ho wrote: > > >>Is there a race condition in gdbserver in fetching thread info? >> >> > >Not that I know of. You've doublechecked that host GDB loaded the >right libpthread.so, right? > > >