]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdbserver/ChangeLog
gdbserver: Ensure all debug output uses debug functions
authorAlan Hayward <alan.hayward@arm.com>
Tue, 16 Apr 2019 09:37:47 +0000 (10:37 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Wed, 17 Apr 2019 09:42:46 +0000 (10:42 +0100)
commita7e559cc087b10b9ea337b58e52cc13964aae3fb
tree9d37b96a5ec1c3c53df5d92c2f2d86fcad65523c
parentaeb2e706e1b9c491d20c88c8ead1ae9df9cee04a
gdbserver: Ensure all debug output uses debug functions

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

gdb/ChangeLog:

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

gdb/gdbserver/ChangeLog:

* ax.c (ax_vdebug): Call debug_printf.
* debug.c (debug_write): New function.
* debug.h (debug_write): New declaration.
* linux-low.c (sigchld_handler): Call debug_write.
gdb/ChangeLog
gdb/gdbserver/ChangeLog
gdb/gdbserver/ax.c
gdb/gdbserver/debug.c
gdb/gdbserver/debug.h
gdb/gdbserver/linux-low.c
gdb/nat/linux-waitpid.c