2005-01-14 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sat, 15 Jan 2005 02:33:19 +0000 (02:33 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 15 Jan 2005 02:33:19 +0000 (02:33 +0000)
* remote-sds.c (interrupt_query): Call throw_reason instead of
throw_exception.
* remote-mips.c (mips_error, mips_kill): Ditto
* ocd.c (interrupt_query): Ditto.
* nto-procfs.c (interrupt_query): Ditto.
* monitor.c (monitor_interrupt_query): Ditto.

gdb/ChangeLog
gdb/monitor.c
gdb/nto-procfs.c
gdb/ocd.c
gdb/remote-mips.c
gdb/remote-sds.c

index d81d90b7316e687b888f972d878d7bf085ce3055..4dae334336668f02ee4371290f9e05ad04f13931 100644 (file)
@@ -1,3 +1,12 @@
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * remote-sds.c (interrupt_query): Call throw_reason instead of
+       throw_exception.
+       * remote-mips.c (mips_error, mips_kill): Ditto
+       * ocd.c (interrupt_query): Ditto.
+       * nto-procfs.c (interrupt_query): Ditto.
+       * monitor.c (monitor_interrupt_query): Ditto.
+
 2005-01-14  Jeff Johnston  <jjohnstn@redhat.com>
 
        * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
index 8bb3bb9b891ac5d4a49717708ca6a7bad8a7da8c..0e90fcdd74981a8a6e0ab44decb7c5ccf9ec43a5 100644 (file)
@@ -1030,7 +1030,7 @@ monitor_interrupt_query (void)
 Give up (and stop debugging it)? "))
     {
       target_mourn_inferior ();
-      throw_exception (RETURN_QUIT);
+      throw_reason (RETURN_QUIT);
     }
 
   target_terminal_inferior ();
index cf01d2fec82c52c66c97bf875b29d52ef63654ad..b88c53f8ad40ea97bab1a418092df1867837f58f 100644 (file)
@@ -592,7 +592,7 @@ interrupt_query (void)
 Give up (and stop debugging it)? "))
     {
       target_mourn_inferior ();
-      throw_exception (RETURN_QUIT);
+      throw_reason (RETURN_QUIT);
     }
 
   target_terminal_inferior ();
index a0179090e8ef06a5a71c59fdece31e1aa1682230..9adc4f7c9ae9bd885881dff75dda49cce8132007 100644 (file)
--- a/gdb/ocd.c
+++ b/gdb/ocd.c
@@ -397,7 +397,7 @@ interrupt_query (void)
 Give up (and stop debugging it)? "))
     {
       target_mourn_inferior ();
-      throw_exception (RETURN_QUIT);
+      throw_reason (RETURN_QUIT);
     }
 
   target_terminal_inferior ();
index c5b6148c4c27ae8a1dd3f74a4d0c358fe5cc9c4e..60f4546063b54870994cd18ddbf563d4426b4702 100644 (file)
@@ -497,7 +497,7 @@ mips_error (char *string,...)
   printf_unfiltered ("Ending remote MIPS debugging.\n");
   target_mourn_inferior ();
 
-  throw_exception (RETURN_ERROR);
+  throw_reason (RETURN_ERROR);
 }
 
 /* putc_readable - print a character, displaying non-printable chars in
@@ -2148,7 +2148,7 @@ Give up (and stop debugging it)? "))
          printf_unfiltered ("Ending remote MIPS debugging.\n");
          target_mourn_inferior ();
 
-         throw_exception (RETURN_QUIT);
+         throw_reason (RETURN_QUIT);
        }
 
       target_terminal_inferior ();
index 3ad9c108beac1f7462b97897c4011422c33f8382..1c62821934127f3583ed208e2f2d09884f1f094e 100644 (file)
@@ -386,7 +386,7 @@ interrupt_query (void)
 Give up (and stop debugging it)? "))
     {
       target_mourn_inferior ();
-      throw_exception (RETURN_QUIT);
+      throw_reason (RETURN_QUIT);
     }
 
   target_terminal_inferior ();