From b52c62266a5eecf6b98024054f3b1ae39da28755 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Mon, 30 Jan 2012 21:37:58 +1300 Subject: Fixed hexprog.py to work with current firmware 'g' packet. --- scripts/gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/gdb.py') diff --git a/scripts/gdb.py b/scripts/gdb.py index 11e8a90..75852b8 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""" -- cgit v1.2.3