From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4110 invoked by alias); 27 May 2004 12:59:31 -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 4096 invoked from network); 27 May 2004 12:59:30 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 27 May 2004 12:59:30 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BTKTk-0000PF-Pc; Thu, 27 May 2004 08:59:24 -0400 Date: Thu, 27 May 2004 12:59:00 -0000 From: Daniel Jacobowitz To: lapo.pasqui@tele2.it Cc: gdb@sources.redhat.com Subject: Re: Is NPTL needed for debugging multi-thread application Message-ID: <20040527125924.GA32439@nevyn.them.org> Mail-Followup-To: lapo.pasqui@tele2.it, gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-05/txt/msg00188.txt.bz2 On Thu, May 27, 2004 at 10:30:12AM +0200, lapo.pasqui@tele2.it wrote: > Hi > I'm having problem in debugging multi thread application on a PPC board. As soon as it hit a breakpoint on a secondary thread I get a SIGKILL from the gdb. > Looking at the core file generated by gdb itself, it looks like it is having problem in navigating the stack of a thread. > > I'm using glibc w/o the NTPL implementation (I'm using the linux thread library). > > Could it explain the problem? Does it only work with NPTL threads? No, LinuxThreads has worked for a long time. This isn't enough information to figure out what's wrong. -- Daniel Jacobowitz