예제 #1
0
def pPacket(s):
    "Read register packet"
    reg = int(s, 16)
    try:
        val = jdb.readRegister(reg)
    except jdb.JdbException, inst:
        return "E00"
예제 #2
0
def breakpointPackage():
    # %02x:%08x" % (gdbmips.R_PC, next_address)
    return "T05%02x:%08x;" % (gdbmips.R_PC, unsigned(jdb.readRegister(gdbmips.R_PC)))