aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r--gdb/infcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 8595d9e..3c33c11 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -530,7 +530,7 @@ call_thread_fsm_should_stop (struct thread_fsm *self,
f->return_value = get_call_return_value (&f->return_meta_info);
/* Break out of wait_sync_command_done. */
- old_chain = make_cleanup (restore_ui_cleanup, current_ui);
+ old_chain = make_cleanup_restore_current_ui ();
current_ui = f->waiting_ui;
target_terminal_ours ();
f->waiting_ui->prompt_state = PROMPT_NEEDED;