diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-02-12 15:31:30 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-02-12 15:31:30 +0000 |
commit | fe97fe9cf073cd11ec93971a88f27b005c145d2a (patch) | |
tree | 8ad2c9834e31c66af022c34fdb4bb92f4f1c6379 /gdb/interps.c | |
parent | 1cdac4ef8f478bf82a446451857d8568f242c3b6 (diff) | |
download | gdb-fe97fe9cf073cd11ec93971a88f27b005c145d2a.zip gdb-fe97fe9cf073cd11ec93971a88f27b005c145d2a.tar.gz gdb-fe97fe9cf073cd11ec93971a88f27b005c145d2a.tar.bz2 |
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.
Diffstat (limited to 'gdb/interps.c')
-rw-r--r-- | gdb/interps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/interps.c b/gdb/interps.c index 8e33ffc..748b5b6 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -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 (); } |