[patch] - i386:show_registers incorrect esp

From: Amit S. Kale (akale@veritas.com)
Date: Mon Jan 10 2000 - 04:57:52 EST


Hi Linus,

show_registers in i386 arch shows incorrect esp. Current code takes (regs+1) as
esp. It should be (&regs->esp). i386 does not push esp and ss on stack when a
fault occurs at level 0. Hence xss and esp from pt_regs are absent for faults
in the kernel.

Attached patch against 2.3.38 fixes this problem.
Can you please include it in next kernel?

Thanks.

-- 
Amit Kale
Veritas Software ( http://www.veritas.com )


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:15 EST