From 843b20dc1df1b9ab8e8478b0743ac927e5b132d4 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 25 Jan 2013 14:17:10 +0000 Subject: gdb/ * event-loop.c: Include "queue.h". (gdb_event_p): New typedef. (DECLARE_QUEUE_P): Use. (DEFINE_QUEUE_P): Use. (async_queue_event): Remove. (gdb_event_xfree): New. (initialize_event_loop): New. (process_event): Use QUEUE macros. (event_queue): Remove. (gdb_wait_for_event): Caller update. (check_async_event_handlers): Likewise. (poll_timers): Likewise. * event-loop.h (initialize_event_loop): Declare. * event-loop.c (gdb_event_xfree): New. * top.c (gdb_init): Call initialize_event_loop. --- gdb/event-loop.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/event-loop.h') diff --git a/gdb/event-loop.h b/gdb/event-loop.h index fc95cf1..e994fc1 100644 --- a/gdb/event-loop.h +++ b/gdb/event-loop.h @@ -77,6 +77,7 @@ typedef void (timer_handler_func) (gdb_client_data); /* Exported functions from event-loop.c */ +extern void initialize_event_loop (void); extern void start_event_loop (void); extern int gdb_do_one_event (void); extern void delete_file_handler (int fd); -- cgit v1.1