aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2016-08-16 10:44:16 -0700
committerTim Newsome <tim@sifive.com>2016-08-16 12:01:59 -0700
commitef84dc3a8d7a95f3324662f9fb167d24b9dc900a (patch)
tree017ab4e2e734bf3c63742342ffd8ad1fc54022b6
parent87b55cae7014a375588a3d24d03903ca170f6d7e (diff)
downloadriscv-tests-ef84dc3a8d7a95f3324662f9fb167d24b9dc900a.zip
riscv-tests-ef84dc3a8d7a95f3324662f9fb167d24b9dc900a.tar.gz
riscv-tests-ef84dc3a8d7a95f3324662f9fb167d24b9dc900a.tar.bz2
Fix missing setup in test_turbostep.
-rwxr-xr-xdebug/gdbserver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py
index ede7869..267bcdc 100755
--- a/debug/gdbserver.py
+++ b/debug/gdbserver.py
@@ -237,6 +237,8 @@ class DebugTest(DeleteServer):
def test_turbostep(self):
"""Single step a bunch of times."""
+ self.gdb.b("main:start")
+ self.gdb.c()
self.gdb.command("p i=0");
last_pc = None
advances = 0