[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 11/16] gdbstub: add support for extended mode pac
From: |
Luc Michel |
Subject: |
[Qemu-devel] [PATCH v4 11/16] gdbstub: add support for extended mode packet |
Date: |
Tue, 6 Nov 2018 12:05:43 +0100 |
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 bd4895ac0a..4132227092 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1294,10 +1294,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,
gdb_fmt_thread_id(s, s->c_cpu, thread_id, sizeof(thread_id)));
put_packet(s, buf);
--
2.19.1
- Re: [Qemu-devel] [PATCH v4 01/16] hw/cpu: introduce CPU clusters, (continued)
- [Qemu-devel] [PATCH v4 07/16] gdbstub: add multiprocess support to (f|s)ThreadInfo and ThreadExtraInfo, Luc Michel, 2018/11/06
- [Qemu-devel] [PATCH v4 03/16] gdbstub: add multiprocess support to '?' packets, Luc Michel, 2018/11/06
- [Qemu-devel] [PATCH v4 08/16] gdbstub: add multiprocess support to Xfer:features:read:, Luc Michel, 2018/11/06
- [Qemu-devel] [PATCH v4 06/16] gdbstub: add multiprocess support to 'sC' packets, Luc Michel, 2018/11/06
- [Qemu-devel] [PATCH v4 16/16] arm/xlnx-zynqmp: put APUs and RPUs in separate CPU clusters, Luc Michel, 2018/11/06
- [Qemu-devel] [PATCH v4 15/16] gdbstub: add multiprocess extension support, Luc Michel, 2018/11/06
- [Qemu-devel] [PATCH v4 13/16] gdbstub: processes initialization on new peer connection, Luc Michel, 2018/11/06
- [Qemu-devel] [PATCH v4 14/16] gdbstub: gdb_set_stop_cpu: ignore request when process is not attached, Luc Michel, 2018/11/06
- [Qemu-devel] [PATCH v4 12/16] gdbstub: add support for vAttach packets, Luc Michel, 2018/11/06
- [Qemu-devel] [PATCH v4 11/16] gdbstub: add support for extended mode packet,
Luc Michel <=
- Re: [Qemu-devel] [PATCH v4 00/16] gdbstub: support for the multiprocess extension, no-reply, 2018/11/06
- Re: [Qemu-devel] [PATCH v4 00/16] gdbstub: support for the multiprocess extension, no-reply, 2018/11/07
- Re: [Qemu-devel] [PATCH v4 00/16] gdbstub: support for the multiprocess extension, no-reply, 2018/11/08
- Re: [Qemu-devel] [PATCH v4 00/16] gdbstub: support for the multiprocess extension, Philippe Mathieu-Daudé, 2018/11/08
- Re: [Qemu-devel] [PATCH v4 00/16] gdbstub: support for the multiprocess extension, no-reply, 2018/11/09