Exemplo n.º 1
0
 def dumpRegs(self, log=None):
     if not log:
         log = error
     try:
         regs = self.getregs()
         dumpRegs(log, regs)
     except PtraceError, err:
         error("Unable to read registers: %s" % err)
Exemplo n.º 2
0
 def dumpRegs(self, log=None):
     if not log:
         log = error
     try:
         regs = self.getregs()
         dumpRegs(log, regs)
     except PtraceError as err:
         log("Unable to read registers: %s" % err)