Replace most uses of deprecated_throw_reason with quit.
authorAndrew Burgess <aburgess@broadcom.com>
Wed, 31 Jul 2013 12:44:33 +0000 (12:44 +0000)
committerAndrew Burgess <aburgess@broadcom.com>
Wed, 31 Jul 2013 12:44:33 +0000 (12:44 +0000)
  http://sourceware.org/ml/gdb-patches/2013-07/msg00778.html

gdb/ChangeLog

        * monitor.c (monitor_interrupt_query): Replace use of
        deprecated_throw_reason with quit.
        * nto-procfs.c (interrupt_query): Likewise.
        * remote-fileio.c (remote_fileio_sig_exit): Likewise.
        * remote-mips.c (mips_kill): Likewise.
        * remote.c (interrupt_query): Likewise.

gdb/ChangeLog
gdb/monitor.c
gdb/nto-procfs.c
gdb/remote-fileio.c
gdb/remote-mips.c
gdb/remote.c

index ca7ca86df90252472f3726a349f2e60ea4c2fa55..fa14d16f761888295e5aae11d78ff66a46486aa4 100644 (file)
@@ -1,3 +1,12 @@
+2013-07-31  Andrew Burgess  <aburgess@broadcom.com>
+
+       * monitor.c (monitor_interrupt_query): Replace use of
+       deprecated_throw_reason with quit.
+       * nto-procfs.c (interrupt_query): Likewise.
+       * remote-fileio.c (remote_fileio_sig_exit): Likewise.
+       * remote-mips.c (mips_kill): Likewise.
+       * remote.c (interrupt_query): Likewise.
+
 2013-07-31  Andrew Burgess  <aburgess@broadcom.com>
 
        * utils.c (internal_verror): Replace use of deprecated_throw_reason
index 3eb22493b7622a21c51fab0cc413c5610625ea33..d0c98662a93e5c302ae1ffc16d41bc1dcac7f5df 100644 (file)
@@ -1036,7 +1036,7 @@ monitor_interrupt_query (void)
 Give up (and stop debugging it)? ")))
     {
       target_mourn_inferior ();
-      deprecated_throw_reason (RETURN_QUIT);
+      quit ();
     }
 
   target_terminal_inferior ();
index 0c2d3a882adb346d4665bd59e5095098b8ccc074..5109facefb8240178a58100a0790bbd6c6017da2 100644 (file)
@@ -694,7 +694,7 @@ interrupt_query (void)
 Give up (and stop debugging it)? ")))
     {
       target_mourn_inferior ();
-      deprecated_throw_reason (RETURN_QUIT);
+      quit ();
     }
 
   target_terminal_inferior ();
index cc39bdf14add4318d1a7ff29cf347b3c2e80964e..5b7ef1d197550d318422b9e0333abd3fa3b57413 100644 (file)
@@ -513,7 +513,7 @@ remote_fileio_sig_exit (void)
 static void
 async_remote_fileio_interrupt (gdb_client_data arg)
 {
-  deprecated_throw_reason (RETURN_QUIT);
+  quit ();
 }
 
 static void
index 13ea1467bc45b540e9d1fa21244aa9c910fc4a23..b769c69037614a35ffa31d810454751acbd12e3d 100644 (file)
@@ -2291,8 +2291,7 @@ Give up (and stop debugging it)? ")))
 
          printf_unfiltered ("Ending remote MIPS debugging.\n");
          target_mourn_inferior ();
-
-         deprecated_throw_reason (RETURN_QUIT);
+         quit ();
        }
 
       target_terminal_inferior ();
index 1d6ac908e00dd6cf06ac3ee4fac113356ac3cfda..7830e67345ff51fb488620d2b00f011c5debfdf6 100644 (file)
@@ -5165,7 +5165,7 @@ interrupt_query (void)
   if (target_can_async_p ())
     {
       signal (SIGINT, handle_sigint);
-      deprecated_throw_reason (RETURN_QUIT);
+      quit ();
     }
   else
     {
@@ -5173,7 +5173,7 @@ interrupt_query (void)
 Give up (and stop debugging it)? ")))
        {
          remote_unpush_target ();
-         deprecated_throw_reason (RETURN_QUIT);
+         quit ();
        }
     }