This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] Deprecate throw_reason


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]