diff options
author | Tom Tromey <tom@tromey.com> | 2018-06-07 16:28:22 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-06-09 16:12:15 -0600 |
commit | 405918449085378e96dc841a3d536ce161ce1539 (patch) | |
tree | f741eeae822ba9e03f900d77b76774eb756f6817 /gdb/glibc-tdep.c | |
parent | 77ad7394454c29cc7a4a865cd226491df457f6f6 (diff) | |
download | gdb-405918449085378e96dc841a3d536ce161ce1539.zip gdb-405918449085378e96dc841a3d536ce161ce1539.tar.gz gdb-405918449085378e96dc841a3d536ce161ce1539.tar.bz2 |
Remove use of queue.h from gdbserver/event-loop.c
This removes a use of queue.h from gdbserver/event-loop.c, replacing
it with std::queue.
I was not completely sure whether std::queue is even that useful.
Perhaps plain std::list could be used just as easily.
Tested by the buildbot.
gdb/gdbserver/ChangeLog
2018-06-09 Tom Tromey <tom@tromey.com>
* event-loop.c (gdb_event, gdb_event_p): Remove typedefs. Don't
declare queue.
(event_queue): Use std::queue.
(gdb_event_xfree): Remove.
(initialize_event_loop, process_event, wait_for_event): Update.
Diffstat (limited to 'gdb/glibc-tdep.c')
0 files changed, 0 insertions, 0 deletions