Commit 2f52183c authored by Mark A. Greer's avatar Mark A. Greer Committed by Tom Rini

PPC32: Fix a problem with 'next' and 'step' type KGDB commands.

parent 424c3b9f
...@@ -626,7 +626,7 @@ handle_exception (struct pt_regs *regs) ...@@ -626,7 +626,7 @@ handle_exception (struct pt_regs *regs)
*ptr++ = hexchars[SP_REGNUM >> 4]; *ptr++ = hexchars[SP_REGNUM >> 4];
*ptr++ = hexchars[SP_REGNUM & 0xf]; *ptr++ = hexchars[SP_REGNUM & 0xf];
*ptr++ = ':'; *ptr++ = ':';
ptr = mem2hex(((char *)&regs) + SP_REGNUM*4, ptr, 4); ptr = mem2hex(((char *)regs) + SP_REGNUM*4, ptr, 4);
*ptr++ = ';'; *ptr++ = ';';
#endif #endif
...@@ -805,7 +805,6 @@ handle_exception (struct pt_regs *regs) ...@@ -805,7 +805,6 @@ handle_exception (struct pt_regs *regs)
set_msr(msr); set_msr(msr);
#else #else
regs->msr |= MSR_SE; regs->msr |= MSR_SE;
set_msr(msr | MSR_SE);
#endif #endif
unlock_kernel(); unlock_kernel();
kgdb_active = 0; kgdb_active = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment