gdb: convert some function arguments from int to bool
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 16 Nov 2020 16:12:44 +0000 (16:12 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 19 Nov 2020 10:15:02 +0000 (10:15 +0000)
commit2e362716fc7df641de0405dbef16a52be5dea2d1
tree9370c58983eb351f7f4fe725208f69fcd55d656c
parentb3ff61f8155f296633f96206c926b545b97053b3
gdb: convert some function arguments from int to bool

A little int to bool conversion around the 'watch' type commands.
There should be no user visible changes after this commit.

gdb/ChangeLog:

* breakpoint.c (update_watchpoint): Pass 'false' not '0'.
(watch_command_1): Update parameter types.  Convert locals to
bool.
(watch_command_wrapper): Change parameter type.
(watch_maybe_just_location): Change locals to bool.
(rwatch_command_wrapper): Update parameter type.
(awatch_command_wrapper): Update parameter type.
* breakpoint.h (watch_command_wrapper): Change parameter type.
(rwatch_command_wrapper): Update parameter type.
(awatch_command_wrapper): Update parameter type.
* eval.c (fetch_subexp_value): Change parameter type.
* ppc-linux-nat.c (ppc_linux_nat_target::check_condition): Pass
'false' not '0'.
* value.h (fetch_subexp_value): Change parameter type in
declaration.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/eval.c
gdb/mi/mi-cmd-break.c
gdb/ppc-linux-nat.c
gdb/value.h
This page took 0.028683 seconds and 4 git commands to generate.