From: Andrew Burgess Date: Wed, 31 Jul 2013 10:51:42 +0000 (+0000) Subject: Remove deprecated_throw_reason from internal_verror. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8150913ba72c45f45e993dd0fa97fade21fea426;p=binutils-gdb.git Remove deprecated_throw_reason from internal_verror. http://sourceware.org/ml/gdb-patches/2013-07/msg00776.html gdb/ChangeLog * utils.c (internal_verror): Replace use of deprecated_throw_reason with call to fatal. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 129b23ec53f..ca7ca86df90 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-07-31 Andrew Burgess + + * utils.c (internal_verror): Replace use of deprecated_throw_reason + with call to fatal. + 2013-07-31 Pedro Alves Yao Qi diff --git a/gdb/utils.c b/gdb/utils.c index 01212abf5ae..94ebce858c9 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -831,7 +831,7 @@ void internal_verror (const char *file, int line, const char *fmt, va_list ap) { internal_vproblem (&internal_error_problem, file, line, fmt, ap); - deprecated_throw_reason (RETURN_ERROR); + fatal (_("Command aborted.")); } void