aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sds.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-sds.c')
-rw-r--r--gdb/remote-sds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c
index 4cab4b0..507ac5b 100644
--- a/gdb/remote-sds.c
+++ b/gdb/remote-sds.c
@@ -405,7 +405,7 @@ interrupt_query (void)
Give up (and stop debugging it)? "))
{
target_mourn_inferior ();
- return_to_top_level (RETURN_QUIT);
+ throw_exception (RETURN_QUIT);
}
target_terminal_inferior ();