summaryrefslogtreecommitdiff
path: root/gdb/event-loop.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-09-10 19:53:24 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-09-10 19:53:24 +0000
commit0f4c56c35825ef5c80c4176ffe140f33fd2dbc64 (patch)
treeb44ebe4b13e5b1cd71fa6814809aba2b55d8d36b /gdb/event-loop.c
parent890964fc5939f0d3f1537f0c75cb53274453dd0a (diff)
downloadgdb-0f4c56c35825ef5c80c4176ffe140f33fd2dbc64.tar.gz
* event-loop.c (gdb_do_one_event): Make public.
* event-loop.h (gdb_do_one_event): Declare.
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r--gdb/event-loop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/event-loop.c b/gdb/event-loop.c
index 4e42d7e2b62..03eb41c6b16 100644
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -210,7 +210,6 @@ static void create_file_handler (int fd, int mask, handler_func * proc, gdb_clie
static void invoke_async_signal_handler (void);
static void handle_file_event (int event_file_desc);
static int gdb_wait_for_event (void);
-static int gdb_do_one_event (void *data);
static int check_async_ready (void);
static void async_queue_event (gdb_event * event_ptr, queue_position position);
static gdb_event *create_file_event (int fd);
@@ -346,7 +345,7 @@ process_event (void)
can happen if there are no event sources to wait for). If an error
occurs catch_errors() which calls this function returns zero. */
-static int
+int
gdb_do_one_event (void *data)
{
/* Any events already waiting in the queue? */