gdb: some int to bool conversion
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 7 May 2021 15:49:24 +0000 (16:49 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 7 May 2021 16:00:25 +0000 (17:00 +0100)
commit8a82de5884386be4c10f16eb55a94993ac6ea858
tree692aff8cc94682dff2d233f0160ad628ed4b929d
parentbedc473418aa3b595a985e4adbbeb7864c5891e3
gdb: some int to bool conversion

Change int parameter to bool in remote_notice_new_inferior (remote.c)
and notice_new_inferior (infcmd.c), and update the callers.

There should be no user visible changes after this commit.

gdb/ChangeLog:

* infcmd.c (notice_new_inferior): Change parameter type.
* inferior.h (notice_new_inferior): Change parameter type.
* remote.c (remote_notice_new_inferior): Change parameter type to
bool.  Also update type of local variable to bool.
(remote_target::update_thread_list): Change type of local variable
to bool.
(remote_target::process_stop_reply): Pass bool instead of int to
remote_notice_new_inferior.
gdb/ChangeLog
gdb/infcmd.c
gdb/inferior.h
gdb/remote.c