diff options
author | Yao Qi <yao@codesourcery.com> | 2013-01-25 14:17:10 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-01-25 14:17:10 +0000 |
commit | 843b20dc1df1b9ab8e8478b0743ac927e5b132d4 (patch) | |
tree | 492103315646bffb633e0252e08d57192b3f877f /gdb/event-loop.h | |
parent | 20ad88565a4909b8ce43f715dde69045de91dcdd (diff) | |
download | gdb-843b20dc1df1b9ab8e8478b0743ac927e5b132d4.zip gdb-843b20dc1df1b9ab8e8478b0743ac927e5b132d4.tar.gz gdb-843b20dc1df1b9ab8e8478b0743ac927e5b132d4.tar.bz2 |
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.
Diffstat (limited to 'gdb/event-loop.h')
-rw-r--r-- | gdb/event-loop.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |