Searched hist:204109 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.2-release/sys/mips/mips/ | ||
H A D | exception.S | diff 204109 Sat Feb 20 07:49:45 MST 2010 neel Fix DDB backtrace that includes a kernel exception frame. The backtrace code tries to look for an instruction of the form "sw ra, x(sp)" to figure out the program counter of the calling function. When we generate the kernel exception frame we store the 'ra' at the time of the exception using an instruction of the same form. The problem is that the 'ra' at the time of the exception is not the same as the 'program counter' at the time of the exception. The fix is to save the 'exception program counter' register by staging it through the 'ra' register. |
Completed in 43 milliseconds