Remove deprecated_throw_reason from internal_verror.
authorAndrew Burgess <aburgess@broadcom.com>
Wed, 31 Jul 2013 10:51:42 +0000 (10:51 +0000)
committerAndrew Burgess <aburgess@broadcom.com>
Wed, 31 Jul 2013 10:51:42 +0000 (10:51 +0000)
  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
gdb/utils.c

index 129b23ec53f645d501fb0b562b09d4c8a7eb3626..ca7ca86df90252472f3726a349f2e60ea4c2fa55 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-31  Andrew Burgess  <aburgess@broadcom.com>
+
+       * utils.c (internal_verror): Replace use of deprecated_throw_reason
+       with call to fatal.
+
 2013-07-31  Pedro Alves  <pedro@codesourcery.com>
            Yao Qi  <yao@codesourcery.com>
 
index 01212abf5ae2a0cec596d75d28b7dd7312f9cc88..94ebce858c98bb5448e01cea298354fde69f4087 100644 (file)
@@ -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