From 8150913ba72c45f45e993dd0fa97fade21fea426 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Wed, 31 Jul 2013 10:51:42 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/utils.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2