Convert boolean globals in server.c to bool
authorChristian Biesinger <cbiesinger@google.com>
Tue, 1 Oct 2019 19:50:54 +0000 (14:50 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Wed, 2 Oct 2019 19:48:53 +0000 (14:48 -0500)
commit3e6ec53ac1d44f890b206d4b8eb91ba9dad3e4d9
treea4364939afd65de6e34ff32ed286ead47ee3367f
parent80fd2826411c1033ec403658c5f3187bf9c1740a
Convert boolean globals in server.c to bool

Converts the int globals to bool.

gdb/gdbserver/ChangeLog:

2019-10-02  Christian Biesinger  <cbiesinger@google.com>

* server.c (server_waiting): Change to bool.
(extended_protocol): Likewise.
(response_needed): Likewise.
(exit_requested): Likewise.
(run_once): Likewise.
(report_no_resumed): Likewise.
(non_stop): Likewise.
(disable_packet_vCont): Likewise.
(disable_packet_Tthread): Likewise.
(disable_packet_qC): Likewise.
(disable_packet_qfThreadInfo): Likewise.
(handle_general_set): Update.
(handle_detach): Update.
(handle_monitor_command): Update.
(handle_query): Update.
(captured_main): Update.
(process_serial_event): Update.
* server.h (server_waiting): Change to bool.
(disable_packet_vCont): Likewise.
(disable_packet_Tthread): Likewise.
(disable_packet_qC): Likewise.
(disable_packet_qfThreadInfo): Likewise.
(run_once): Likewise.
(non_stop): Likewise.
* target.c (target_stop_and_wait): Update.
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c
gdb/gdbserver/server.h
gdb/gdbserver/target.c