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 129b23e..ca7ca86 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 01212ab..94ebce8 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