arm64: update kdb_thrctx->pcb_lr with BKPT_SKIP
This value should be kept in sync with updates to kdb_frame->tf_elr, since it is queried by PC_REGS() in several places. Reviewed by: markj, jhb MFC after: 5 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D28943
This commit is contained in:
parent
874635e381
commit
bd0b7cbf5a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user