From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17835 invoked by alias); 20 Feb 2004 00:52:29 -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 17735 invoked from network); 20 Feb 2004 00:52:26 -0000 Received: from unknown (HELO msrvr.intellambda.com) (207.5.82.234) by sources.redhat.com with SMTP; 20 Feb 2004 00:52:26 -0000 Message-ID: <40355A5C.1090408@intellambda.com> Date: Fri, 20 Feb 2004 00:52:00 -0000 From: Albert Ho MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sources.redhat.com Subject: Re: working version of gdb(x86) and gdbserver(ppc)? References: <403520CD.3020800@intellambda.com> <20040219230535.GA24200@nevyn.them.org> <4035456B.6090001@intellambda.com> <20040219232439.GB472@nevyn.them.org> In-Reply-To: <20040219232439.GB472@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00269.txt.bz2 The application monitored by gdbserver uses pthread. So "strace gdbserver :5000 foo" has libpthread.so.0. Daniel Jacobowitz wrote: >On Thu, Feb 19, 2004 at 03:23:23PM -0800, Albert Ho wrote: > > >>Thanks Daniel. >>One more question: do strace suppose to show exactly the same library >>opened? >>I notice gdb open("/lib/tls/libthread_db.so.1", O_RDONLY) = 3 >>but gdbserver open("/lib/tls/libpthread.so.0", O_RDONLY) = 9 >> >> > >Why is gdbserver opening libpthread at all? > > >