Return bool from breakpoint_ops::print_one
authorTom Tromey <tom@tromey.com>
Sun, 16 Jan 2022 23:56:24 +0000 (16:56 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 29 Apr 2022 22:14:30 +0000 (16:14 -0600)
commitc01e038bd26d36e56ab290ddf1458d4236b2e4c3
tree0be79443651b907556e6bd32bcca16048c17fb48
parent6689579725c370e4284f035ea283f2e459653738
Return bool from breakpoint_ops::print_one

This changes breakpoint_ops::print_one to return bool, and updates all
the implementations and the caller.  The caller is changed so that a
NULL check is no longer needed -- something that will be impossible
with a real method.
gdb/ada-lang.c
gdb/break-catch-exec.c
gdb/break-catch-fork.c
gdb/break-catch-load.c
gdb/break-catch-sig.c
gdb/break-catch-syscall.c
gdb/break-catch-throw.c
gdb/breakpoint.c
gdb/breakpoint.h