OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Mark Kettenis (ketteniscvs.openbsd.org)
Date: Mon Dec 13 2010 - 04:49:48 CST


CVSROOT: /cvs
Module name: src
Changes by: ketteniscvs.openbsd.org 2010/12/13 03:49:48

Modified files:
        sys/arch/mips64/mips64: exception.S

Log message:
Remove superfluous SAVE_CPU_SREG()/RESTORE_CPU_SREG() around ast() call in
u_general exception handler. The SAVE_CPU_SREG() is actually harmful, since
it overwrites any changes made to to s0-s8 in the trapframe by ptrace(2).
Fixes some issues with GDB.

ok miod