breakpoint: Make is_*point functions return bool
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 11 Jul 2019 01:20:38 +0000 (21:20 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 11 Jul 2019 01:20:50 +0000 (21:20 -0400)
commitf2478a7e8b145a55c343bc7a62c53b021062229e
tree91e96966b2af7dd53b5ae709f96d5c56eac1d304
parent2ee0a9b7bcd86721bd44d8a8fc967b2a8cbe18e0
breakpoint: Make is_*point functions return bool

This includes changing the FILTER parameters of two functions
accordingly.  I also tried to normalize the function comments to our
current standards.

gdb/ChangeLog:

* breakpoint.c (is_hardware_watchpoint): Remove
forward-declaration.
(is_masked_watchpoint): Change return type to bool.
(is_tracepoint): Likewise.
(is_breakpoint): Likewise.
(is_hardware_watchpoint): Likewise.
(is_watchpoint): Likewise.
(is_no_memory_software_watchpoint): Likewise.
(is_catchpoint): Likewise.
(breakpoint_1): Make FILTER parameter's return type bool.
is_masked_watchpoint): Change return type to bool.
(save_breakpoints): Make FILTER parameter's return type bool.
* breakpoint.h (is_breakpoint): Change return type to bool.
(is_watchpoint): Likewise.
(is_catchpoint): Likewise.
(is_tracepoint): Likewise.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h