From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7369 invoked by alias); 29 Aug 2006 13:49:45 -0000 Received: (qmail 7360 invoked by uid 22791); 29 Aug 2006 13:49:44 -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, 29 Aug 2006 13:49:42 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GI3yF-00045S-TG; Tue, 29 Aug 2006 09:49:39 -0400 Date: Tue, 29 Aug 2006 13:49:00 -0000 From: Daniel Jacobowitz To: Matt HAMEAU Cc: gdb@sourceware.org Subject: Re: Multi-thread debug doesn't work with me :( Message-ID: <20060829134939.GA15664@nevyn.them.org> Mail-Followup-To: Matt HAMEAU , gdb@sourceware.org References: <20060829134727.34334.qmail@web26115.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060829134727.34334.qmail@web26115.mail.ukl.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-08/txt/msg00218.txt.bz2 On Tue, Aug 29, 2006 at 01:47:27PM +0000, Matt HAMEAU wrote: > But, when I try to debug a process that create multiple pthreads, I cannot get into those threads and the debugger crashes: > - I connect to the board > - I set up a breakpoint in a function that will be executed by one of the thread (created by pthread_create) > - I launch the remote debug > - when the thread reaches the breakpoint, the debugger stops > - debugger is lost, it is impossible to have any information on the current line of the code or on any variables Please be more specific. What happens? > - I "continue" the debug: the debugger crashes. Ditto. We can only respond to precise bug reports. > $ arm-linux-uclibc-gdb.exe --version > GNU gdb 6.3 > Copyright 2004 Free Software Foundation, Inc. You might want to try GDB 6.5. Also, have you set up a solib prefix? -- Daniel Jacobowitz CodeSourcery