From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27990 invoked by alias); 4 Apr 2011 09:47:52 -0000 Received: (qmail 27982 invoked by uid 22791); 4 Apr 2011 09:47:52 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Apr 2011 09:47:48 +0000 Received: (qmail 11357 invoked from network); 4 Apr 2011 09:47:47 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Apr 2011 09:47:47 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [rfc v2][rft (procfs, nto-procfs)] Fix signal bypass heuristic with software single-step Date: Mon, 04 Apr 2011 09:47:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-28-generic; KDE/4.6.1; x86_64; ; ) Cc: "Ulrich Weigand" References: <201103311911.p2VJBn27015944@d06av02.portsmouth.uk.ibm.com> In-Reply-To: <201103311911.p2VJBn27015944@d06av02.portsmouth.uk.ibm.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104041047.44630.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00044.txt.bz2 On Thursday 31 March 2011 20:11:49, Ulrich Weigand wrote: > Pedro Alves wrote: > > > Might be we just need to check if _any_ thread is stepping, when > > deciding whether to tell the target to report back all signals? > > I've thought about this a bit more. The primary cause why we need > to tell the target to report back all signals is because we have > pulled out breakpoints to step over one -- this is why running > arbitrary signal handlers would be dangerous. ... > Thoughts? This makes sense to me. Thanks for thinking this through. The patch looked okay to me. -- Pedro Alves