From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 651 invoked by alias); 6 Nov 2006 14:35:01 -0000 Received: (qmail 637 invoked by uid 22791); 6 Nov 2006 14:35:00 -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; Mon, 06 Nov 2006 14:34:54 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Gh5Yo-0008Fi-Us; Mon, 06 Nov 2006 09:34:51 -0500 Date: Mon, 06 Nov 2006 14:35:00 -0000 From: Daniel Jacobowitz To: Jaimon Jose Cc: Andreas Schwab , gdb@sourceware.org Subject: Re: pthread_sigmask and gdb Message-ID: <20061106143450.GA31707@nevyn.them.org> Mail-Followup-To: Jaimon Jose , Andreas Schwab , gdb@sourceware.org References: <454F3EB5.7010700@Yahoo.com> <454F440E.9020507@Yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <454F440E.9020507@Yahoo.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-11/txt/msg00026.txt.bz2 On Mon, Nov 06, 2006 at 07:47:50PM +0530, Jaimon Jose wrote: > > > Andreas Schwab wrote the following on 11/06/2006 07:34 PM: > > Looks like a kernel bug. Since gdb does not receive any notification of > > the signal it cannot do anything about that. > My assumption was that gdb blocks on all signals and delivers to the > application being debugged based on the signal mask set in the gdb. > I have tested this on 2.4.21 and 2.6.16. Its hard to believe this was > never caught. Sigwaitinfo is a very special case of signal delivery. -- Daniel Jacobowitz CodeSourcery