aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2017-07-12 11:52:13 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-07-14 12:04:41 +0200
commit118e226884a762f3ef21351c05043e32be44c1f1 (patch)
treecf1c103c042d882c343350a8fae75d9fdfa89bfb /block
parentcb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5 (diff)
gdbstub: modernise DEBUG_GDB
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-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Greg Kurz <groug@kaod.org> Message-Id: <20170712105216.747-2-alex.bennee@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions