aboutsummaryrefslogtreecommitdiff
path: root/debug/gdbserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug/gdbserver.py')
-rwxr-xr-xdebug/gdbserver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py
index cdf04c1..0956fa8 100755
--- a/debug/gdbserver.py
+++ b/debug/gdbserver.py
@@ -70,6 +70,8 @@ def srec_parse(line):
elif typ == 'S7':
# ignore execution start field
return 7, 0, 0
+ else:
+ raise TestFailed("Unsupported SREC type %r." % typ)
def readable_binary_string(s):
return "".join("%02x" % ord(c) for c in s)