From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5799 invoked by alias); 6 Nov 2006 14:05:02 -0000 Received: (qmail 5745 invoked by uid 22791); 6 Nov 2006 14:05:01 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 06 Nov 2006 14:04:49 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 3D4D9FE24; Mon, 6 Nov 2006 15:04:47 +0100 (CET) From: Andreas Schwab To: jjaimon@yahoo.com Cc: gdb@sourceware.org Subject: Re: pthread_sigmask and gdb References: <454F3EB5.7010700@Yahoo.com> X-Yow: I am a traffic light, and Alan Ginsberg kidnapped my laundry in 1927! Date: Mon, 06 Nov 2006 14:05:00 -0000 In-Reply-To: <454F3EB5.7010700@Yahoo.com> (Jaimon Jose's message of "Mon, 06 Nov 2006 19:25:01 +0530") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/msg00022.txt.bz2 Jaimon Jose writes: > Still, SIGINT is passed to the program being debugged instead of GDB > handling this. I have attached a sample program where I can reproduce > this. I tried this on Solaris and HPUX. Once I attach to the running > program, I can interrupt the program using "Ctrl-C". But, this doesn't > work on gdb ( on SLES, SuSE 10.1 and RHAS 3.0 - gdb 6.4 and 6.0 ) and > the signal is delivered to the running program. Any help is appreciated. Looks like a kernel bug. Since gdb does not receive any notification of the signal it cannot do anything about that. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."