From: Andrew Cagney Date: Sat, 15 Jan 2005 02:33:19 +0000 (+0000) Subject: 2005-01-14 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d05559016da4d9698f5ccb6995f5ac8e4c048ee0;p=binutils-gdb.git 2005-01-14 Andrew Cagney * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d81d90b7316..4dae3343366 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2005-01-14 Andrew Cagney + + * 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 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions. diff --git a/gdb/monitor.c b/gdb/monitor.c index 8bb3bb9b891..0e90fcdd749 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -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 (); diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c index cf01d2fec82..b88c53f8ad4 100644 --- a/gdb/nto-procfs.c +++ b/gdb/nto-procfs.c @@ -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 (); diff --git a/gdb/ocd.c b/gdb/ocd.c index a0179090e8e..9adc4f7c9ae 100644 --- 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 (); diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index c5b6148c4c2..60f4546063b 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -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 (); diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c index 3ad9c108bea..1c628219341 100644 --- a/gdb/remote-sds.c +++ b/gdb/remote-sds.c @@ -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 ();