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 d81d90b..4dae334 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 8bb3bb9..0e90fcd 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 cf01d2f..b88c53f 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 a017909..9adc4f7 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 c5b6148..60f4546 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 3ad9c10..1c62821 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 ();