diff options
author | Luc Michel | 2019-01-07 16:23:46 +0100 |
---|---|---|
committer | Peter Maydell | 2019-01-07 16:23:46 +0100 |
commit | 53fd65541511386564fb53a91b594459e7f06d7e (patch) | |
tree | 4878437895fce60ed42506d7f6d4b0c47bc89802 /gdbstub.c | |
parent | gdbstub: add multiprocess support to 'D' packets (diff) | |
download | qemu-53fd65541511386564fb53a91b594459e7f06d7e.tar.gz qemu-53fd65541511386564fb53a91b594459e7f06d7e.tar.xz qemu-53fd65541511386564fb53a91b594459e7f06d7e.zip |
gdbstub: add support for extended mode packet
Add support for the '!' extended mode packet. This is required for the
multiprocess extension.
Signed-off-by: Luc Michel <luc.michel@greensocs.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20181207090135.7651-12-luc.michel@greensocs.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'gdbstub.c')
-rw-r--r-- | gdbstub.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1302,6 +1302,9 @@ static int gdb_handle_packet(GDBState *s, const char *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, |