X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/cfe672510d77e8aa646c5e34768745271ffd772b..079911cb6e26898e16f5bb56ef4f9d33cf92d32d:/gdbstub.c diff --git a/gdbstub.c b/gdbstub.c index d6ab95006c..c8478de8f5 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -2038,7 +2038,11 @@ int gdbserver_start(const char *device) sigaction(SIGINT, &act, NULL); } #endif - chr = qemu_chr_new_noreplay("gdb", device); + /* + * FIXME: it's a bit weird to allow using a mux chardev here + * and implicitly setup a monitor. We may want to break this. + */ + chr = qemu_chr_new_noreplay("gdb", device, true); if (!chr) return -1; }