Move declarations of debug_threads and using_threads to header
authorChristian Biesinger <cbiesinger@google.com>
Fri, 20 Sep 2019 02:40:09 +0000 (11:40 +0900)
committerChristian Biesinger <cbiesinger@google.com>
Sat, 21 Sep 2019 02:00:50 +0000 (11:00 +0900)
commitf9d949fb7b85323e3f307884a4a3cef6ba52607b
treed0faee6739af74b56afda346383fd72665ba58c2
parenta7773afff9035cb0e450478bcfe88a5920957e46
Move declarations of debug_threads and using_threads to header

Instead of declaring debug_threads and using_threads in several
.c files, declare them in debug.h.

gdb/gdbserver/ChangeLog:

2019-09-20  Christian Biesinger  <cbiesinger@google.com>

* debug.c (debug_threads): Remove comment in favor of the header.
* debug.h (using_threads): Add declaration.
(debug_threads): Add comment.
* linux-aarch64-low.c: Include debug.h and remove declaration of
debug_threads.
* nto-low.c: Likewise.
* remote-utils.c: Likewise.
* thread-db.c: Likewise.
gdb/gdbserver/ChangeLog
gdb/gdbserver/debug.c
gdb/gdbserver/debug.h
gdb/gdbserver/linux-aarch64-low.c
gdb/gdbserver/nto-low.c
gdb/gdbserver/remote-utils.c
gdb/gdbserver/thread-db.c