blob: fa636d6a7ce803a56296139903a52b644c210e69 [file] [log] [blame]
%verify "executed"
/*
* Breakpoint handler.
*
* Restart this instruction with the original opcode. By
* the time we get here, the breakpoint will have already been
* handled. We also assume that all other special "checkBefore"
* actions have been handled, so we'll transition directly
* to the real handler
*/
SPILL(rIBASE)
movl rPC,OUT_ARG0(%esp)
call dvmGetOriginalOpcode@PLT
UNSPILL(rIBASE)
movl rSELF,%ecx
movzbl 1(rPC),rINST
movl offThread_mainHandlerTable(%ecx),%ecx
jmp *(%ecx,%eax,4)