Use the right mask for extracting sof from cr.ifs.

This commit is contained in:
Doug Rabson 2000-10-16 08:47:56 +00:00
parent eded8b5cfa
commit 2e8a70354f

View File

@ -343,7 +343,7 @@ kdb_trap(int vector, struct trapframe *regs)
/*
* XXX pretend that registers outside the current frame don't exist.
*/
db_eregs = db_regs + DB_MISC_REGS + 32 + (ddb_regs.tf_cr_ifs & 0xff);
db_eregs = db_regs + DB_MISC_REGS + 32 + (ddb_regs.tf_cr_ifs & 0x7f);
__asm __volatile("flushrs"); /* so we can look at them */