From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16182 invoked by alias); 22 Feb 2008 17:37:17 -0000 Received: (qmail 16171 invoked by uid 22791); 22 Feb 2008 17:37:15 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Feb 2008 17:36:58 +0000 Received: from zps19.corp.google.com (zps19.corp.google.com [172.25.146.19]) by smtp-out.google.com with ESMTP id m1MHap24011458 for ; Fri, 22 Feb 2008 17:36:52 GMT Received: from wa-out-1112.google.com (wahj5.prod.google.com [10.114.236.5]) by zps19.corp.google.com with ESMTP id m1MHaoUi020664 for ; Fri, 22 Feb 2008 09:36:51 -0800 Received: by wa-out-1112.google.com with SMTP id j5so869017wah.24 for ; Fri, 22 Feb 2008 09:36:50 -0800 (PST) Received: by 10.114.130.1 with SMTP id c1mr275041wad.52.1203701810756; Fri, 22 Feb 2008 09:36:50 -0800 (PST) Received: by 10.115.107.7 with HTTP; Fri, 22 Feb 2008 09:36:50 -0800 (PST) Message-ID: Date: Fri, 22 Feb 2008 17:45:00 -0000 From: "Doug Evans" To: gdb@sourceware.org Subject: Re: catch-throw conditions? Cc: "Thiago Jung Bauermann" , "Craig Miller" In-Reply-To: <20080222142446.GA24125@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> 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: 2008-02/txt/msg00189.txt.bz2 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?] C++ * Implement catching of specific exceptions. Currently GDB does not support specifying a catchpoint for a particular exception. "catch catch" and "catch throw" work, but "catch catch exception_name" and "catch throw exception_name" do not. [or some such]