From f6b3158574fa0fd257160379cab494b274d14538 Mon Sep 17 00:00:00 2001 From: Tobias Frost Date: Fri, 10 Jun 2022 13:27:15 +0200 Subject: [PATCH] SW_BP is not defined, it seems to be BP_SW (at least that is what breakpoint.h has) --- sysdeps/linux-gnu/arm/arch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/linux-gnu/arm/arch.c b/sysdeps/linux-gnu/arm/arch.c index 79d682c..f4c02ae 100644 --- a/sysdeps/linux-gnu/arm/arch.c +++ b/sysdeps/linux-gnu/arm/arch.c @@ -691,7 +691,7 @@ int do_singlestep(struct task *task, struct breakpoint *bp) bp1 = breakpoint_find(task, next_pcs[0]); if (!bp1) { - bp1 = breakpoint_new(task, next_pcs[0], NULL, SW_BP); + bp1 = breakpoint_new(task, next_pcs[0], NULL, BP_SW); if (!bp1) return -1; } @@ -703,7 +703,7 @@ int do_singlestep(struct task *task, struct breakpoint *bp) if (next_pcs[1]) { bp2 = breakpoint_find(task, next_pcs[1]); if (!bp2) { - bp2 = breakpoint_new(task, next_pcs[1], NULL, SW_BP); + bp2 = breakpoint_new(task, next_pcs[1], NULL, BP_SW); if (!bp2) return -1; }