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 | 7937e00b8921eba8d287d0fe3d96e9b2ac869549 (patch) | |
tree | f692ce0c85b1825a0719eb09e805ac19d60a9274 /gdb/event-top.h | |
parent | 2072469751bb13fc964852caaf0e61a4393abe52 (diff) | |
download | gdb-7937e00b8921eba8d287d0fe3d96e9b2ac869549.tar.gz |
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/event-top.h')
-rw-r--r-- | gdb/event-top.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gdb/event-top.h b/gdb/event-top.h index d8c0a963989..4c06083db24 100644 --- a/gdb/event-top.h +++ b/gdb/event-top.h @@ -1,5 +1,7 @@ -/* Definitions used by GDB event-top.c. - Copyright 1999, 2001 Free Software Foundation, Inc. +/* Definitions used by event-top.c, for GDB, the GNU debugger. + + Copyright 1999, 2001, 2003 Free Software Foundation, Inc. + Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions. This file is part of GDB. @@ -19,6 +21,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef EVENT_TOP_H +#define EVENT_TOP_H + /* Stack for prompts. Each prompt is composed as a prefix, a prompt and a suffix. The prompt to be displayed at any given time is the one on top of the stack. A stack is necessary because of cases in @@ -111,3 +116,7 @@ extern void (*call_readline) (void *); extern void (*input_handler) (char *); extern int input_fd; extern void (*after_char_processing_hook) (void); + +extern void cli_command_loop (void); + +#endif |