diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-07-27 16:32:21 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-07-27 16:32:21 +0000 |
commit | d11a7b16cdc5871ba5b99b64b67b42091b0e1483 (patch) | |
tree | aa0b267e3c6411ab5b9b1bc80153cf0cc87f8716 /sys/mips | |
parent | e2bbd168adecb8c1a53ee30263db0fda622497da (diff) | |
download | src-test2-d11a7b16cdc5871ba5b99b64b67b42091b0e1483.tar.gz src-test2-d11a7b16cdc5871ba5b99b64b67b42091b0e1483.zip |
Notes
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/mips/trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/mips/trap.c b/sys/mips/mips/trap.c index a2cd7e0e8d6e..6ada543577c9 100644 --- a/sys/mips/mips/trap.c +++ b/sys/mips/mips/trap.c @@ -824,12 +824,12 @@ dofault: i = SIGTRAP; ucode = TRAP_BRKPT; - addr = trapframe->pc; /* compute address of break instruction */ va = trapframe->pc; if (DELAYBRANCH(trapframe->cause)) va += sizeof(int); + addr = va; if (td->td_md.md_ss_addr != va) break; |