aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ui.c')
-rw-r--r--gdb/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ui.c b/gdb/ui.c
index 5fe0012..38ec61e 100644
--- a/gdb/ui.c
+++ b/gdb/ui.c
@@ -227,7 +227,7 @@ new_ui_command (const char *args, int from_tty)
set_top_level_interpreter (interpreter_name);
- interp_pre_command_loop (top_level_interpreter ());
+ top_level_interpreter ()->pre_command_loop ();
/* Make sure the file is not closed. */
stream.release ();