summaryrefslogtreecommitdiff
path: root/gdb/event-loop.h
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-06-28 16:06:02 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-06-28 16:06:02 +0000
commit3aa48797ecc40f0b9fa07da4685595b9a5bcf07a (patch)
tree6071aaa9824ade430d70cba71650efb16e77a591 /gdb/event-loop.h
parent4683ebe4e2ebe3d956e90b55271a01fc6ce735cf (diff)
downloadgdb-3aa48797ecc40f0b9fa07da4685595b9a5bcf07a.tar.gz
import gdb-1999-06-28 snapshot
Diffstat (limited to 'gdb/event-loop.h')
-rw-r--r--gdb/event-loop.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/gdb/event-loop.h b/gdb/event-loop.h
index 5305a673bc8..e06fb8cb52d 100644
--- a/gdb/event-loop.h
+++ b/gdb/event-loop.h
@@ -222,28 +222,33 @@ struct prompts
#define PREFIX(X) the_prompts.prompt_stack[the_prompts.top + X].prefix
#define SUFFIX(X) the_prompts.prompt_stack[the_prompts.top + X].suffix
-/* Exported functions from event-top.c */
+/* Exported functions from event-loop.c */
+extern void start_event_loop PARAMS ((void));
extern void delete_file_handler PARAMS ((int));
-extern void
- create_file_handler PARAMS ((int, int, file_handler_func, gdb_client_data));
-extern int gdb_do_one_event PARAMS ((void));
+extern void add_file_handler PARAMS ((int, file_handler_func, gdb_client_data));
extern void mark_async_signal_handler PARAMS ((async_signal_handler *));
extern async_signal_handler *
create_async_signal_handler PARAMS ((async_handler_func *, gdb_client_data));
extern void delete_async_signal_handler PARAMS ((async_signal_handler *async_handler_ptr));
+
+/* Exported functions from event-top.c.
+ FIXME: these should really go into top.h. */
+
extern void display_gdb_prompt PARAMS ((char*));
-extern void start_event_loop PARAMS ((void));
extern void async_init_signals PARAMS ((void));
extern void set_async_editing_command PARAMS ((char *, int, struct cmd_list_element *));
extern void set_async_annotation_level PARAMS ((char *, int, struct cmd_list_element *));
extern void set_async_prompt PARAMS ((char *, int, struct cmd_list_element *));
extern void handle_stop_sig PARAMS ((int));
+extern void gdb_readline2 PARAMS ((void));
-/* Exported variables from event-top.c */
+/* Exported variables from event-top.c.
+ FIXME: these should really go into top.h. */
extern int async_command_editing_p;
extern char *async_annotation_suffix;
extern char *new_async_prompt;
extern struct prompts the_prompts;
-
+extern void (*call_readline) PARAMS ((void));
+extern void (*input_handler) PARAMS ((char *));