mirror of https://gitee.com/openkylin/qemu.git
gdbstub: use preferred boolean option syntax
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20210216191027.595031-2-berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6585b16278
commit
87c9991a0c
|
@ -3505,7 +3505,7 @@ int gdbserver_start(const char *device)
|
||||||
if (strstart(device, "tcp:", NULL)) {
|
if (strstart(device, "tcp:", NULL)) {
|
||||||
/* enforce required TCP attributes */
|
/* enforce required TCP attributes */
|
||||||
snprintf(gdbstub_device_name, sizeof(gdbstub_device_name),
|
snprintf(gdbstub_device_name, sizeof(gdbstub_device_name),
|
||||||
"%s,nowait,nodelay,server", device);
|
"%s,wait=off,delay=off,server=on", device);
|
||||||
device = gdbstub_device_name;
|
device = gdbstub_device_name;
|
||||||
}
|
}
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
|
Loading…
Reference in New Issue