aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-12 15:31:30 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-12 15:31:30 +0000
commitfe97fe9cf073cd11ec93971a88f27b005c145d2a (patch)
tree8ad2c9834e31c66af022c34fdb4bb92f4f1c6379 /gdb/event-top.h
parent1cdac4ef8f478bf82a446451857d8568f242c3b6 (diff)
downloadfsf-binutils-gdb-fe97fe9cf073cd11ec93971a88f27b005c145d2a.zip
fsf-binutils-gdb-fe97fe9cf073cd11ec93971a88f27b005c145d2a.tar.gz
fsf-binutils-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/event-top.h')
-rw-r--r--gdb/event-top.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/gdb/event-top.h b/gdb/event-top.h
index d8c0a96..4c06083 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