]> git.proxmox.com Git - mirror_qemu.git/blobdiff - gdbstub.c
gdbstub: add support for extended mode packet
[mirror_qemu.git] / gdbstub.c
index 2c7032f53ab6f694281d07222a552f9eb9d2095f..9b6b4d20a024dfb92ecc5840fa65c4ffe69dddcc 100644 (file)
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -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,