This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/3] gdb: replace event_queue with QUEUE
On 01/25/2013 07:01 AM, Yao Qi wrote:
> 2013-01-25 Yao Qi <yao@codesourcery.com>
>
> * 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.
Thanks, this is OK.
--
Pedro Alves