gdbserver: introduce remote_debug_printf
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 17 Jan 2022 02:16:02 +0000 (21:16 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 18 Jan 2022 18:44:38 +0000 (13:44 -0500)
commit91f94053dd72ea88a4d282f94836bc4c0d6c0785
treee2dbe3514f069073026ff19152446e6763296d55
parentc058728c31684d08da396f1bf50fabaa196dc9d9
gdbserver: introduce remote_debug_printf

Add remote_debug_printf, and use it for all debug messages controlled by
remote_debug.

Change remote_debug to be a bool, which is trivial in this case.

Change-Id: I90de13cb892faec3830047b571661822b126d6e8
gdbserver/debug.cc
gdbserver/debug.h
gdbserver/notif.cc
gdbserver/remote-utils.cc
gdbserver/server.cc