From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6437 invoked by alias); 13 Jan 2005 04:55:10 -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 6408 invoked from network); 13 Jan 2005 04:55:05 -0000 Received: from unknown (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org with SMTP; 13 Jan 2005 04:55:05 -0000 Received: from zaretski (IGLD-83-130-209-249.inter.net.il [83.130.209.249]) by romy.inter.net.il (MOS 3.5.6-GR) with ESMTP id AGR92882 (AUTH halo1); Thu, 13 Jan 2005 06:55:02 +0200 (IST) Date: Thu, 13 Jan 2005 04:55:00 -0000 From: "Eli Zaretskii" To: Andrew Cagney Message-ID: <01c4f92b$Blat.v2.2.2$a7bb5ac0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb-patches@sources.redhat.com In-reply-to: <41E5B980.7030502@gnu.org> (message from Andrew Cagney on Wed, 12 Jan 2005 18:57:52 -0500) Subject: Re: [commit] Add "struct exception" Reply-to: Eli Zaretskii References: <41E5B980.7030502@gnu.org> X-SW-Source: 2005-01/txt/msg00100.txt.bz2 > 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.