Convert an int flag variable to bool
authorLuis Machado <luis.machado@linaro.org>
Thu, 9 Jan 2020 19:24:15 +0000 (16:24 -0300)
committerLuis Machado <luis.machado@linaro.org>
Tue, 21 Jan 2020 13:26:27 +0000 (10:26 -0300)
commitf0c702d4b8415becb67610389cf266f73226080e
treef6932a0bb555a856df0e461e1ce4e592958cb3ba
parent1ab139e5bedfec2bb277287574cc0322c21a252b
Convert an int flag variable to bool

As suggested, the cond variable is really supposed to be a bool. So,
make it so.

gdb/ChangeLog:

2020-01-21  Luis Machado  <luis.machado@linaro.org>

* aarch64-tdep.c (struct aarch64_displaced_step_closure)
<cond>: Change type to bool.
(aarch64_displaced_step_b_cond): Update cond to use bool type.
(aarch64_displaced_step_cb): Likewise.
(aarch64_displaced_step_tb): Likewise.
gdb/ChangeLog
gdb/aarch64-tdep.c