From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15605 invoked by alias); 14 Jan 2005 01:34:47 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15577 invoked from network); 14 Jan 2005 01:34:41 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 14 Jan 2005 01:34:41 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j0E1Yad3013930 for ; Thu, 13 Jan 2005 20:34:41 -0500 Received: from localhost.redhat.com (vpn50-52.rdu.redhat.com [172.16.50.52]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j0E1YUr08659; Thu, 13 Jan 2005 20:34:30 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 13D477D7F; Thu, 13 Jan 2005 20:32:45 -0500 (EST) Message-ID: <41E7213D.7090904@gnu.org> Date: Fri, 14 Jan 2005 01:34:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [commit] Add "struct exception" References: <41E5B980.7030502@gnu.org> <01c4f92b$Blat.v2.2.2$a7bb5ac0@zahav.net.il> In-Reply-To: <01c4f92b$Blat.v2.2.2$a7bb5ac0@zahav.net.il> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00123.txt.bz2 Eli Zaretskii wrote: >>Date: Wed, 12 Jan 2005 18:57:52 -0500 >>From: Andrew Cagney >> >>clash, callers updated). This lets users write a rough equivalent: >> >> struct exception e = catch_exceptions (....) >> switch (exception.reason) > > > Please don't call it ``struct exception'', as that clashes with the > same struct defined by math.h and used by library function `matherr', > and would not compile in C++ at all. > > Something like ``struct gdb_exception'' would probably be better. Ah, thanks. I'll rename it. Andrew