gdb: remove breakpoint_find_if
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 30 Aug 2021 20:10:41 +0000 (16:10 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 31 Aug 2021 13:55:31 +0000 (09:55 -0400)
commit9fe3819e83a442f1bd563000120121e5518f7d53
tree460f1bcd0c4c163581170e926f48e15b01d12d66
parent88ae41e17980533927f98339bcb40015522f06c4
gdb: remove breakpoint_find_if

Remove breakpoint_find_if, replace its sole usage with using
all_breakpoints directly instead.  At the same time, change return
types to use bool.

Change-Id: I9ec392236b4804b362d16ab563330b9c07311106
gdb/break-catch-syscall.c
gdb/breakpoint.c
gdb/breakpoint.h
gdb/infrun.c