forked from Imagelibrary/binutils-gdb
2003-02-12 Andrew Cagney <ac131313@redhat.com>
* event-top.c (cli_command_loop): Delete declaration. (_initialize_event_loop): Delete function setting event_loop_hook. * event-top.h (cli_command_loop): Declare. Update copyright. (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. * interps.c (current_interp_command_loop): When event_loop_p, call cli_command_loop.
This commit is contained in:
@@ -275,6 +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 ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user