aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-08-30 16:10:41 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-08-31 09:55:31 -0400
commit9fe3819e83a442f1bd563000120121e5518f7d53 (patch)
tree460f1bcd0c4c163581170e926f48e15b01d12d66 /gdb/infrun.c
parent88ae41e17980533927f98339bcb40015522f06c4 (diff)
downloadgdb-9fe3819e83a442f1bd563000120121e5518f7d53.zip
gdb-9fe3819e83a442f1bd563000120121e5518f7d53.tar.gz
gdb-9fe3819e83a442f1bd563000120121e5518f7d53.tar.bz2
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
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 5ee650f..694bbe6 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -4458,7 +4458,7 @@ handle_syscall_event (struct execution_control_state *ecs)
ecs->event_thread->set_stop_pc (regcache_read_pc (regcache));
if (catch_syscall_enabled () > 0
- && catching_syscall_number (syscall_number) > 0)
+ && catching_syscall_number (syscall_number))
{
infrun_debug_printf ("syscall number=%d", syscall_number);