aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-01-25 14:17:10 +0000
committerYao Qi <yao@codesourcery.com>2013-01-25 14:17:10 +0000
commit843b20dc1df1b9ab8e8478b0743ac927e5b132d4 (patch)
tree492103315646bffb633e0252e08d57192b3f877f /gdb/top.c
parent20ad88565a4909b8ce43f715dde69045de91dcdd (diff)
downloadgdb-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/top.c b/gdb/top.c
index e9d6c1c..e9a40fc 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -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 ();