aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2016-05-09 09:41:01 -0700
committerTim Newsome <tim@sifive.com>2016-05-23 12:12:12 -0700
commit8b176c4e961c6eb376051a3db11078637f6bbffa (patch)
tree2e39e1629b5c0c01efa6212afadd5972ca15ca48 /tests
parentc7643c32e07e4b5d82bdb98b91998f9c12f24434 (diff)
downloadspike-8b176c4e961c6eb376051a3db11078637f6bbffa.zip
spike-8b176c4e961c6eb376051a3db11078637f6bbffa.tar.gz
spike-8b176c4e961c6eb376051a3db11078637f6bbffa.tar.bz2
Force gdb to not print entry values.
All of a sudden gdb decided to start printing them, which messed up the breakpoint test. It would only print them in the test, not if I manually ran the same commands. I'm sure it's my fault somehow, but this should keep things consistent in the future.
Diffstat (limited to 'tests')
-rw-r--r--tests/testlib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testlib.py b/tests/testlib.py
index 3b439b1..3cba8c7 100644
--- a/tests/testlib.py
+++ b/tests/testlib.py
@@ -71,6 +71,8 @@ class Gdb(object):
self.wait()
self.command("set width 0")
self.command("set height 0")
+ # Force consistency.
+ self.command("set print entry-values no")
def wait(self):
"""Wait for prompt."""