aboutsummaryrefslogtreecommitdiff
path: root/debug/testlib.py
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2018-12-03 15:26:11 -0800
committerTim Newsome <tim@sifive.com>2018-12-03 15:26:11 -0800
commit3b90c1f894ee4aa78a44c2ecb0cce26e46ef3baa (patch)
tree73acb4fb45c8b79e027f25429ff9d0aee0278492 /debug/testlib.py
parent58d61ef95ff6d5c6738eabd1cf6a8d91b3df337d (diff)
downloadriscv-tests-3b90c1f894ee4aa78a44c2ecb0cce26e46ef3baa.zip
riscv-tests-3b90c1f894ee4aa78a44c2ecb0cce26e46ef3baa.tar.gz
riscv-tests-3b90c1f894ee4aa78a44c2ecb0cce26e46ef3baa.tar.bz2
Reduce download size a bit.
Increase some timeouts in case memory access is slow.
Diffstat (limited to 'debug/testlib.py')
-rw-r--r--debug/testlib.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index 184bc85..8fa0c43 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -463,7 +463,7 @@ class Gdb(object):
self.select_child(child)
self.command(command)
- def c(self, wait=True, async=False, checkOutput=True):
+ def c(self, wait=True, async=False, checkOutput=True, ops=10):
"""
Dumb c command.
In RTOS mode, gdb will resume all harts.
@@ -474,7 +474,6 @@ class Gdb(object):
async = "&"
else:
async = ""
- ops = 10
if wait:
output = self.command("c%s" % async, ops=ops)
if checkOutput: