From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20233 invoked by alias); 18 Jan 2005 21:39:59 -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 19661 invoked from network); 18 Jan 2005 21:39:48 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 18 Jan 2005 21:39:48 -0000 Received: from zaretski ([80.230.146.250]) by legolas.inter.net.il (MOS 3.5.6-GR) with ESMTP id DOG29068 (AUTH halo1); Tue, 18 Jan 2005 23:39:44 +0200 (IST) Date: Tue, 18 Jan 2005 21:39:00 -0000 From: "Eli Zaretskii" To: Andrew Cagney Message-ID: <01c4fda5$Blat.v2.2.2$f0668be0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb-patches@sources.redhat.com In-reply-to: <41ED77F4.3080902@gnu.org> (message from Andrew Cagney on Tue, 18 Jan 2005 15:56:20 -0500) Subject: Re: [patch/rfc] Deprecate throw_reason Reply-to: Eli Zaretskii References: <41ED77F4.3080902@gnu.org> X-SW-Source: 2005-01/txt/msg00200.txt.bz2 > Date: Tue, 18 Jan 2005 15:56:20 -0500 > From: Andrew Cagney > > Index: breakpoint.c > =================================================================== > RCS file: /cvs/src/src/gdb/breakpoint.c,v > retrieving revision 1.195 > diff -p -u -r1.195 breakpoint.c > --- breakpoint.c 18 Jan 2005 17:04:27 -0000 1.195 > +++ breakpoint.c 18 Jan 2005 20:40:05 -0000 > @@ -5144,7 +5144,7 @@ break_command_1 (char *arg, int flag, in > error. */ > > if (pending_break_support == AUTO_BOOLEAN_FALSE) > - throw_reason (RETURN_ERROR); > + deprecated_throw_reason (RETURN_ERROR); It's IMHO not nice that we have deprecated_something in a core-GDB source file such as breakpoint.c. Can we replace this with a party-line code? > --- utils.c 14 Jan 2005 21:34:36 -0000 1.145 > +++ utils.c 18 Jan 2005 20:40:07 -0000 Same here.