From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8767 invoked by alias); 2 Oct 2007 11:42:01 -0000 Received: (qmail 8744 invoked by uid 22791); 2 Oct 2007 11:41:56 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 02 Oct 2007 11:41:54 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 260D998152; Tue, 2 Oct 2007 11:41:53 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0DB289810B; Tue, 2 Oct 2007 11:41:53 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1Icg8O-0002y5-6Y; Tue, 02 Oct 2007 07:41:52 -0400 Date: Tue, 02 Oct 2007 11:42:00 -0000 From: Daniel Jacobowitz To: Carl Shapiro Cc: gdb@sourceware.org Subject: Re: Problems with hook-stop Message-ID: <20071002114152.GA11392@caradoc.them.org> Mail-Followup-To: Carl Shapiro , gdb@sourceware.org References: <4dcb5abd0709260133h10aede86wb60a22094c8d9884@mail.gmail.com> <200709271127.l8RBRMPG017896@brahms.sibelius.xs4all.nl> <4dcb5abd0709271725v73cdf443q46fb43c985474c21@mail.gmail.com> <20070929210750.GA10190@caradoc.them.org> <4dcb5abd0710020057ke69e442q3dc6ca91a9d94cc4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4dcb5abd0710020057ke69e442q3dc6ca91a9d94cc4@mail.gmail.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00011.txt.bz2 On Tue, Oct 02, 2007 at 12:57:33AM -0700, Carl Shapiro wrote: > On 9/29/07, Daniel Jacobowitz wrote: > > Maybe we should handle hooks and commands lists specially when they > > end in continue or signal. Basically a tail recursion optimization. > > If there is no infrastructure in-place to perform this analysis, it > would seem easier to add a new verb to the GDB command language that > signals and exits the currently executing command. Oh, the analysis is trivial. It's doing something with the result of the analysis that will be harder :-) -- Daniel Jacobowitz CodeSourcery