diff options
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-script.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index a6d5456..527540a 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -379,8 +379,6 @@ do_restore_user_call_depth (void * call_depth) int *depth = (int *) call_depth; (*depth)--; - if ((*depth) == 0) - in_user_command = 0; } @@ -411,10 +409,6 @@ execute_user_command (struct cmd_list_element *c, char *args) make_cleanup (do_restore_instream_cleanup, ui->instream); ui->instream = NULL; - /* Also set the global in_user_command, so that NULL instream is - not confused with Insight. */ - in_user_command = 1; - scoped_restore save_async = make_scoped_restore (¤t_ui->async, 0); command_nest_depth++; |