aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb.py
diff options
context:
space:
mode:
authorGareth McMullin2012-01-30 21:37:58 +1300
committerGareth McMullin2012-01-30 22:14:31 +1300
commitb52c62266a5eecf6b98024054f3b1ae39da28755 (patch)
tree41d0eb466fcd6208aed763baaff115acf273b16d /scripts/gdb.py
parentc17ad8f2cea160d9dc103e0bcfef1959fb9ff7dd (diff)
Fixed hexprog.py to work with current firmware 'g' packet.
Diffstat (limited to 'scripts/gdb.py')
-rw-r--r--scripts/gdb.py2
1 files changed, 1 insertions, 1 deletions
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"""