Sparc32: clear exception_index with -1 value

See also 821b19fe92.

Spotted by Artyom Tarasenko and Igor Kovalenko.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
master
Blue Swirl 2010-01-07 20:02:04 +00:00
parent 0e8c9214ba
commit 95372a393d
1 changed files with 1 additions and 1 deletions

View File

@ -3563,7 +3563,7 @@ void do_interrupt(CPUState *env)
env->tbr = (env->tbr & TBR_BASE_MASK) | (intno << 4);
env->pc = env->tbr;
env->npc = env->pc + 4;
env->exception_index = 0;
env->exception_index = -1;
}
#endif