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/top.c | |
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/top.c')
-rw-r--r-- | gdb/top.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1713,6 +1713,7 @@ gdb_init (char *argv0) initialize_inferiors (); initialize_current_architecture (); init_cli_cmds(); + initialize_event_loop (); init_main (); /* But that omits this file! Do it now. */ initialize_stdin_serial (); |