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)
*ptr++ = hexchars[SP_REGNUM >> 4];
*ptr++ = hexchars[SP_REGNUM & 0xf];
*ptr++ = ':';
ptr = mem2hex(((char *)&regs) + SP_REGNUM*4, ptr, 4);
ptr = mem2hex(((char *)regs) + SP_REGNUM*4, ptr, 4);
*ptr++ = ';';
#endif
......@@ -805,7 +805,6 @@ handle_exception (struct pt_regs *regs)
set_msr(msr);
#else
regs->msr |= MSR_SE;
set_msr(msr | MSR_SE);
#endif
unlock_kernel();
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