aboutsummaryrefslogtreecommitdiff
path: root/gdb/interps.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/interps.c')
-rw-r--r--gdb/interps.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/interps.c b/gdb/interps.c
index 5856fa0..2a4cc0b 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -275,10 +275,8 @@ current_interp_command_loop (void)
else if (current_interpreter != NULL
&& current_interpreter->procs->command_loop_proc != NULL)
current_interpreter->procs->command_loop_proc (current_interpreter->data);
- else if (event_loop_p)
- cli_command_loop ();
else
- command_loop ();
+ cli_command_loop ();
}
int