Home | History | Annotate | Download | only in mips
      1 %verify "executed"
      2     /*
      3      * Breakpoint handler.
      4      *
      5      * Restart this instruction with the original opcode.  By
      6      * the time we get here, the breakpoint will have already been
      7      * handled.
      8      */
      9     move    a0, rPC
     10     JAL(dvmGetOriginalOpcode)           # (rPC)
     11     FETCH(rINST, 0)                     # reload OP_BREAKPOINT + rest of inst
     12     lw      a1, offThread_mainHandlerTable(rSELF)
     13     and     rINST, 0xff00
     14     or      rINST, rINST, a0
     15     GOTO_OPCODE_BASE(a1, a0)
     16