diff options
author | Pedro Alves <palves@redhat.com> | 2014-01-08 19:16:54 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-01-08 20:34:26 +0000 |
commit | 9939e1314f970c6ba568956148a518ac710a280a (patch) | |
tree | c0a1192c5f661b7dceac5a52d643f39f93187eba /gdb/gdbserver/ChangeLog | |
parent | b7ea362b023feba8d75d5831948bc0d8496b4069 (diff) | |
download | fsf-binutils-gdb-9939e1314f970c6ba568956148a518ac710a280a.zip fsf-binutils-gdb-9939e1314f970c6ba568956148a518ac710a280a.tar.gz fsf-binutils-gdb-9939e1314f970c6ba568956148a518ac710a280a.tar.bz2 |
GDBserver: Discard previous queued events when GDB disconnects.
... not when a new GDB connection sends the status packet ('?').
Mainly just a cleanup/simplification, as GDB always sends '?' first.
Tested on x86_64 Fedora 17.
2014-01-08 Pedro Alves <palves@redhat.com>
* server.c (handle_status): Don't discard previous queued stop
replies or thread's pending status here.
(main) <disconnection>: Do it here instead.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index bf874a1..adba6f6 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,11 @@ 2014-01-08 Pedro Alves <palves@redhat.com> + * server.c (handle_status): Don't discard previous queued stop + replies or thread's pending status here. + (main) <disconnection>: Do it here instead. + +2014-01-08 Pedro Alves <palves@redhat.com> + * gdbthread.h (struct thread_info) <status_pending_p>: New field. * server.c (visit_actioned_threads, handle_pending_status): New function. |