diff --git a/scripts/gdb.py b/scripts/gdb.py index 11e8a90f..75852b85 100644 --- a/scripts/gdb.py +++ b/scripts/gdb.py @@ -163,7 +163,7 @@ class Target: data = unhexify(reply) except Excpetion: raise Exception('Invalid response to memory read packet: %r' % reply) - return struct.unpack("=16L", data) + return struct.unpack("=20L", data) def write_regs(self, *regs): """Write target core registers"""