Commit 6dba15b9 authored by Tristan Gingold's avatar Tristan Gingold

mockturtle-debug.py: fix python3 compatibility issue.

parent 24a047bd
......@@ -373,7 +373,7 @@ class GdbServer(object):
self.dap.exec_nop()
self.dap.exec_nop()
self.dap.exec_nop()
return self.dap.read_mbx() - 4
return (self.dap.read_mbx() - 4) & 0xffffffff
def write_pc_via_ra(self):
self.dap.exec_insn(0x00008067) # ret
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment