Re: [Qemu-devel] [PATCH v1 1/2] gdbstub: modernise DEBUG_GDB

2017-05-31 Thread Greg Kurz
On Wed, 31 May 2017 16:09:32 +0100 Alex Bennée wrote: > Convert the a gdb_debug helper which compiles away to nothing when not > used but still ensures the format strings are checked. There is some > minor code motion for the incorrect checksum message to report it > before we attempt to send the

Re: [Qemu-devel] [PATCH v1 1/2] gdbstub: modernise DEBUG_GDB

2017-05-31 Thread Philippe Mathieu-Daudé
On 05/31/2017 12:09 PM, Alex Bennée wrote: Convert the a gdb_debug helper which compiles away to nothing when not used but still ensures the format strings are checked. There is some minor code motion for the incorrect checksum message to report it before we attempt to send the reply. Signed-off