This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Deprecate throw_reason
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 18 Jan 2005 23:36:39 +0200
- Subject: Re: [patch/rfc] Deprecate throw_reason
- References: <41ED77F4.3080902@gnu.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Tue, 18 Jan 2005 15:56:20 -0500
> From: Andrew Cagney <cagney@gnu.org>
>
> 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.