diff options
author | marcel <marcel@FreeBSD.org> | 2003-07-25 00:11:14 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-07-25 00:11:14 +0000 |
commit | 8d2bac7470cc9afcfad01ff7128d4d23eafeb4cd (patch) | |
tree | 552dc3c8b3213e53bd76659ccb26c039ca9f7f91 /sys/ia64 | |
parent | 3284ff83dd465825e8bca0d1d66e95d26488cd01 (diff) | |
download | FreeBSD-src-8d2bac7470cc9afcfad01ff7128d4d23eafeb4cd.zip FreeBSD-src-8d2bac7470cc9afcfad01ff7128d4d23eafeb4cd.tar.gz |
Disable the single-step trap on a debug related trap, including of
course the single-step trap itself.
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/trap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c index 681c658..73bb610 100644 --- a/sys/ia64/ia64/trap.c +++ b/sys/ia64/ia64/trap.c @@ -683,6 +683,8 @@ trap(int vector, struct trapframe *framep) case IA64_VEC_DEBUG: case IA64_VEC_SINGLE_STEP_TRAP: case IA64_VEC_TAKEN_BRANCH_TRAP: { + framep->tf_special.psr &= ~IA64_PSR_SS; + /* * These are always fatal in kernel, and should never happen. */ |