aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2021-03-01 14:00:17 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2021-03-01 14:04:22 +0000
commitbd0b7cbf5ac1baff4211e09584e0b86d4d96228b (patch)
treeb1a754aac3716692fcf985053f29fa4c8d14ed31 /sys
parent874635e381731e1fbd5e2d0459ca87814f1e455c (diff)
Diffstat (limited to 'sys')
-rw-r--r--sys/arm64/include/db_machdep.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm64/include/db_machdep.h b/sys/arm64/include/db_machdep.h
index f2fd2a57a9c3..61b58415e41c 100644
--- a/sys/arm64/include/db_machdep.h
+++ b/sys/arm64/include/db_machdep.h
@@ -49,8 +49,9 @@ typedef long db_expr_t;
#define BKPT_SIZE (4)
#define BKPT_SET(inst) (BKPT_INST)
-#define BKPT_SKIP do { \
- kdb_frame->tf_elr += BKPT_SIZE; \
+#define BKPT_SKIP do { \
+ kdb_frame->tf_elr += BKPT_SIZE; \
+ kdb_thrctx->pcb_lr += BKPT_SIZE; \
} while (0)
#define db_clear_single_step kdb_cpu_clear_singlestep