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