From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4630 invoked by alias); 22 Feb 2008 18:59:42 -0000 Received: (qmail 4621 invoked by uid 22791); 22 Feb 2008 18:59:41 -0000 X-Spam-Check-By: sourceware.org Received: from gv-out-0910.google.com (HELO gv-out-0910.google.com) (216.239.58.190) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Feb 2008 18:59:11 +0000 Received: by gv-out-0910.google.com with SMTP id n40so284631gve.39 for ; Fri, 22 Feb 2008 10:59:08 -0800 (PST) Received: by 10.142.141.21 with SMTP id o21mr293927wfd.102.1203706747332; Fri, 22 Feb 2008 10:59:07 -0800 (PST) Received: by 10.142.192.19 with HTTP; Fri, 22 Feb 2008 10:59:07 -0800 (PST) Message-ID: <59b144da0802221059q7dc22693n78fbb9d43ceedae3@mail.gmail.com> Date: Fri, 22 Feb 2008 19:51:00 -0000 From: "Adrian Jones" To: gdb@sourceware.org Subject: Re: catch-throw conditions? In-Reply-To: <20080222174529.GA3518@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19143cfb0802211124k275f8f7bi765154764f42ba0@mail.gmail.com> <1203686717.9433.100.camel@localhost.localdomain> <20080222141940.GA23687@caradoc.them.org> <20080222142446.GA24125@caradoc.them.org> <20080222174529.GA3518@caradoc.them.org> 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: 2008-02/txt/msg00191.txt.bz2 On 22/02/2008, Daniel Jacobowitz wrote: > On Fri, Feb 22, 2008 at 09:36:50AM -0800, Doug Evans wrote: > > On Fri, Feb 22, 2008 at 6:24 AM, Daniel Jacobowitz wrote: > > > On Fri, Feb 22, 2008 at 09:19:40AM -0500, Daniel Jacobowitz wrote: > > > > "help catch", unfortunately, is incorrect :-( > > > > > > > > IIRC this was implemented for HP aCC. The GNU support does not (yet) > > > > handle an exceptname. > > > > > > ... But if someone is interested, this would not be a huge project. > > > Ada already supports something similar. > > > > Ok if I add something like the following to the ProjectIdeas page? > > [what are the rules for editing the wiki btw?] > > > There aren't any. Far as I'm concerned you can add anything you want > :-) > > Another useful thing would be to display the exception and to > automatically show the frame with the throw/catch. I think Ada does > those, too. I suppose just adding a breakpoint in the exception constructor is a little hacky for what you are after here -Adrian