aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@broadcom.com>2013-07-31 12:44:33 +0000
committerAndrew Burgess <aburgess@broadcom.com>2013-07-31 12:44:33 +0000
commit039e3c22825cb0177d4f853f644a56f7fc577e23 (patch)
tree2307a676f33c1b7ba7240b378dc22ac8e48c0bb6 /gdb/remote.c
parent8150913ba72c45f45e993dd0fa97fade21fea426 (diff)
downloadgdb-039e3c22825cb0177d4f853f644a56f7fc577e23.zip
gdb-039e3c22825cb0177d4f853f644a56f7fc577e23.tar.gz
gdb-039e3c22825cb0177d4f853f644a56f7fc577e23.tar.bz2
Replace most uses of deprecated_throw_reason with quit.
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.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 1d6ac90..7830e67 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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 ();
}
}