From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7909 invoked by alias); 24 Apr 2003 13:54:20 -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 7898 invoked from network); 24 Apr 2003 13:54:20 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 24 Apr 2003 13:54:20 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 198hBE-0000Hx-00; Thu, 24 Apr 2003 08:54:28 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 198hAv-0003aL-00; Thu, 24 Apr 2003 09:54:09 -0400 Date: Thu, 24 Apr 2003 13:54:00 -0000 From: Daniel Jacobowitz To: Alan Hourihane Cc: gdb@sources.redhat.com Subject: Re: multithreaded app debugging Message-ID: <20030424135409.GA13765@nevyn.them.org> Mail-Followup-To: Alan Hourihane , 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.1i X-SW-Source: 2003-04/txt/msg00288.txt.bz2 On Thu, Apr 24, 2003 at 01:37:45PM +0100, Alan Hourihane wrote: > Hi, > > I'm debugging a threaded application, but somewhere within the second > thread it gets a > > Program received signal SIG32, Real-time event 32 > > And then I hit continue for gdb to splurt out... > > Couldn't get registers: Operation not permitted. > > Any clues on how to fix gdb for this. I'm not sure where the SIG32 signal > is coming from either. That means the multithread code was not enabled; usually this means GDB had a problem loading or activating thread_db, or got the wrong copy of libpthread.so, or something similar. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer