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:
Daniel P. Berrangé 2021-02-16 19:10:18 +00:00 committed by Paolo Bonzini
parent 6585b16278
commit 87c9991a0c
1 changed files with 1 additions and 1 deletions

View File

@ -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