[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH 10/15] gdbstub: add support for extended mode packet
From: |
Luc Michel |
Subject: |
[Qemu-arm] [PATCH 10/15] gdbstub: add support for extended mode packet |
Date: |
Sat, 1 Sep 2018 14:46:34 +0200 |
Add support for the '!' extended mode packet. This is required for the
multiprocess extension.
Signed-off-by: Luc Michel <address@hidden>
---
gdbstub.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gdbstub.c b/gdbstub.c
index af8864e251..4bed0a85f3 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1281,10 +1281,13 @@ static int gdb_handle_packet(GDBState *s, const char
*line_buf)
trace_gdbstub_io_command(line_buf);
p = line_buf;
ch = *p++;
switch(ch) {
+ case '!':
+ put_packet(s, "OK");
+ break;
case '?':
/* TODO: Make this return the correct value for user-mode. */
snprintf(buf, sizeof(buf), "T%02xthread:%s;", GDB_SIGNAL_TRAP,
get_thread_id(s, s->c_cpu, thread_id, sizeof(thread_id)));
put_packet(s, buf);
--
2.18.0
- [Qemu-arm] [PATCH 00/15] gdbstub: support for the multiprocess extension, Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 12/15] gdbstub: processes initialization on new peer connection, Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 07/15] gdbstub: add multiprocess support to Xfer:features:read:, Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 01/15] gdbstub: introduce GDB processes, Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 05/15] gdbstub: add multiprocess support to 'sC' packets, Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 10/15] gdbstub: add support for extended mode packet,
Luc Michel <=
- [Qemu-arm] [PATCH 11/15] gdbstub: add support for vAttach packets, Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 08/15] gdbstub: add multiprocess support to gdb_vm_state_change(), Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 04/15] gdbstub: add multiprocess support to vCont packets, Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 03/15] gdbstub: add multiprocess support to 'H' and 'T' packets, Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 02/15] gdbstub: add multiprocess support to '?' packets, Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 14/15] gdbstub: add multiprocess extension support, Luc Michel, 2018/09/01
- [Qemu-arm] [PATCH 09/15] gdbstub: add multiprocess support to 'D' packets, Luc Michel, 2018/09/01