Disable the single-step trap on a debug related trap, including of

course the single-step trap itself.
This commit is contained in:
Marcel Moolenaar 2003-07-25 00:11:14 +00:00
parent fdbc83723d
commit c5262d75ed

View File

@ -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.
*/