diff options
Diffstat (limited to 'gdb/main.c')
-rw-r--r-- | gdb/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/main.c b/gdb/main.c index 7cb74ce97bd..a1dbf4662f8 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -96,10 +96,7 @@ extern char *external_editor_command; static int captured_command_loop (void *data) { - if (command_loop_hook == NULL) - command_loop (); - else - command_loop_hook (); + current_interp_command_loop (); /* FIXME: cagney/1999-11-05: A correct command_loop() implementaton would clean things up (restoring the cleanup chain) to the state they were just prior to the call. Technically, this means that |