aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-04-07 16:17:40 -0600
committerTom Tromey <tom@tromey.com>2019-04-19 14:29:32 -0600
commitb494cdff6922944383ef4dc20fcc90c4d823d315 (patch)
treecb98e6f414bd464bc5edb3709c1554a39c30620d /gdb/gdbserver/ChangeLog
parentcf250e36790aaa255bb486e2122bb83c95c7669b (diff)
downloadgdb-b494cdff6922944383ef4dc20fcc90c4d823d315.zip
gdb-b494cdff6922944383ef4dc20fcc90c4d823d315.tar.gz
gdb-b494cdff6922944383ef4dc20fcc90c4d823d315.tar.bz2
Use std::list for event notifications in gdbserver
This changes gdbserver to use std::list rather than common/queue.h for event notifications. gdb/gdbserver/ChangeLog 2019-04-19 Tom Tromey <tom@tromey.com> * server.c (struct vstop_notif): Derive from notif_event. <base>: Remove. (queue_stop_reply): Update. (remove_all_on_match_ptid): Change type. Rewrite. (discard_queued_stop_replies): Rewrite. (in_queued_stop_replies_ptid): Change type. (in_queued_stop_replies): Rewrite. (notif_stop): Update. (queue_stop_reply_callback): Update. (captured_main): Don't call initialize_notif. (push_stop_notification): Update. * notif.c (notif_write_event, handle_notif_ack) (notif_event_enque, notif_push): Update. (notif_event_xfree, initialize_notif): Remove. * notif.h (struct notif_event): Include <list>, not "common/queue.h". (struct notif_server) <queue>: Now a std::list. (notif_event_p): Remove typedef. (initialize_notif): Don't declare. (struct notif_event): Add virtual destructor.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r--gdb/gdbserver/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index f8f600e..2985281 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,26 @@
+2019-04-19 Tom Tromey <tom@tromey.com>
+
+ * server.c (struct vstop_notif): Derive from notif_event.
+ <base>: Remove.
+ (queue_stop_reply): Update.
+ (remove_all_on_match_ptid): Change type. Rewrite.
+ (discard_queued_stop_replies): Rewrite.
+ (in_queued_stop_replies_ptid): Change type.
+ (in_queued_stop_replies): Rewrite.
+ (notif_stop): Update.
+ (queue_stop_reply_callback): Update.
+ (captured_main): Don't call initialize_notif.
+ (push_stop_notification): Update.
+ * notif.c (notif_write_event, handle_notif_ack)
+ (notif_event_enque, notif_push): Update.
+ (notif_event_xfree, initialize_notif): Remove.
+ * notif.h (struct notif_event): Include <list>, not
+ "common/queue.h".
+ (struct notif_server) <queue>: Now a std::list.
+ (notif_event_p): Remove typedef.
+ (initialize_notif): Don't declare.
+ (struct notif_event): Add virtual destructor.
+
2019-04-17 Alan Hayward <alan.hayward@arm.com>
* ax.c (ax_vdebug): Call debug_printf.