This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCHv3 0/2] gdb/remote: Restore support for 'S' stop reply packet
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Pedro Alves <palves at redhat dot com>, Andrew Burgess <andrew dot burgess at embecosm dot com>
- Date: Mon, 2 Mar 2020 11:54:08 +0000
- Subject: [PATCHv3 0/2] gdb/remote: Restore support for 'S' stop reply packet
- References: <137d09cf-9f97-fa5e-19a0-71231a3f760a@redhat.com>
Pedro,
Thanks for your feedback.
In this version I have:
1. Added a new patch #1 that adds a debug feature to gdbserver to
allow it to send S packets.
2. Used this new feature to add a test for S packets into patch #2.
3. Moved a call to switch_to_inferior_no_thread as part of patch #2
to make sure that inferior_ptid is null_ptid during wait code.
4. Rewritten the commit message for patch #2 to describe what's
going on.
Thanks,
Andrew
---
Andrew Burgess (2):
gdbserver: Add mechanism to prevent sending T stop packets
gdb/remote: Restore support for 'S' stop reply packet
gdb/ChangeLog | 10 +++
gdb/infrun.c | 8 ++-
gdb/remote.c | 43 ++++++++----
gdb/testsuite/ChangeLog | 5 ++
gdb/testsuite/gdb.server/stop-reply-no-thread.exp | 80 ++++++++++++++---------
gdbserver/ChangeLog | 8 +++
gdbserver/remote-utils.cc | 20 ++++++
gdbserver/server.cc | 3 +
gdbserver/server.h | 1 +
9 files changed, 133 insertions(+), 45 deletions(-)
--
2.14.5