From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7311 invoked by alias); 23 Jul 2009 18:39:14 -0000 Received: (qmail 7301 invoked by uid 22791); 23 Jul 2009 18:39:14 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Jul 2009 18:39:06 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n6NId4Mb002558 for ; Thu, 23 Jul 2009 14:39:04 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n6NId4EC030552 for ; Thu, 23 Jul 2009 14:39:04 -0400 Received: from localhost.localdomain (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n6NId2YG020266 for ; Thu, 23 Jul 2009 14:39:03 -0400 Message-ID: <4A68AE46.4020406@redhat.com> Date: Thu, 23 Jul 2009 18:39:00 -0000 From: Phil Muldoon User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: help catch catch and help catch throw help text References: <4A683E49.4000204@redhat.com> In-Reply-To: <4A683E49.4000204@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-07/txt/msg00185.txt.bz2 On 07/23/2009 11:41 AM, Phil Muldoon wrote: > > (gdb) catch catch foo > Junk at end of arguments. > > (gdb) catch throw foo > Junk at end of arguments. > > I looked at the code and while they support conditions, they do not > appear to support named exceptions. These functions call > handle_gnu_v3_exceptions which basically set a breakpoint on > __cxa_begin_catch, or __cxa_throw depending on the command. > > Before I submit a documentation patchlet to remove the reference to > catching named exceptions, are there other cases languages/conditions > that I have not considered? > On the basis of "read the code, Luke", I did and there isn't ;) I'll submit a patch. Regards Phil