mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
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
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user