From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3038 invoked by alias); 26 Sep 2006 14:07:37 -0000 Received: (qmail 3029 invoked by uid 22791); 26 Sep 2006 14:07:36 -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; Tue, 26 Sep 2006 14:07:27 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GSDam-0003RA-4e; Tue, 26 Sep 2006 10:07:24 -0400 Date: Tue, 26 Sep 2006 14:07:00 -0000 From: Daniel Jacobowitz To: Carmelo Amoroso Cc: gdb@sourceware.org Subject: Re: howto debug libthread_db Message-ID: <20060926140724.GA13188@nevyn.them.org> Mail-Followup-To: Carmelo Amoroso , gdb@sourceware.org References: <45193401.7000502@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45193401.7000502@gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) 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-09/txt/msg00151.txt.bz2 On Tue, Sep 26, 2006 at 04:06:57PM +0200, Carmelo Amoroso wrote: > Hi All, > I'm trying to debug a simple multithread application on a remote target, > and I like to debug the libthread_db itself... is it possible to do it? > is it possible to set some breakpoints and stepping through? > Is there anyone already played with it? > > I tried to use symbol-file to gdb client, and I successfully added a > breakpoint, but I cannot reach it after I connected to the target and > issued 'continue'. > > Any help will be appreciated Sorry, but you need to be more precise. What exactly did you do - the entire GDB session? What didn't work? Do you really mean libthread_db, or do you mean libpthread? -- Daniel Jacobowitz CodeSourcery