diff options
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 0b2d25f..7f5d7ba 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -5902,10 +5902,6 @@ static void interrupt_query (void) { struct remote_state *rs = get_remote_state (); - struct cleanup *old_chain; - - old_chain = make_cleanup_restore_target_terminal (); - target_terminal_ours (); if (rs->waiting_for_stop_reply && rs->ctrlc_pending_p) { @@ -5922,8 +5918,6 @@ interrupt_query (void) "Give up waiting? "))) quit (); } - - do_cleanups (old_chain); } /* Enable/disable target terminal ownership. Most targets can use |