Re: [PATCH 3/4] gdbserver: Ensure all debug output uses debug functions

Tom Tromey
2019-04-16T19:43:28Z

>>>>> "Alan" == Alan Hayward <Alan.Hayward@arm.com> writes:

Alan> All debug output needs to go via debug functions to ensure it writes to the
Alan> correct output stream.

Alan> gdb/ChangeLog:

Alan> 2019-04-16 Alan Hayward <alan.hayward@arm.com>

Alan> * nat/linux-waitpid.c (linux_debug): Call debug_vprintf.

Alan> gdb/gdbserver/ChangeLog:

Alan> 2019-04-16 Alan Hayward <alan.hayward@arm.com>

Alan> * ax.c (ax_vdebug): Call debug_printf.
Alan> * debug.c (debug_write): New function.
Alan> * debug.h (debug_write): New declaration.
Alan> * linux-low.c (sigchld_handler): Call debug_write.

Thanks, this is ok.

Tom