diff options
author | Tim Newsome <tim@sifive.com> | 2018-10-05 12:28:32 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2018-10-05 12:28:32 -0700 |
commit | acc87e14d9a6e4e6c3f019e79cb5c047162228c1 (patch) | |
tree | 9e3b5594e6f7b09422c39222842eb7029542be51 /debug/testlib.py | |
parent | 6ac2c6350757a07b4469f37eca61bf44854f41c6 (diff) | |
download | riscv-tests-hw_watchpoint.zip riscv-tests-hw_watchpoint.tar.gz riscv-tests-hw_watchpoint.tar.bz2 |
Make HwWatchpoint test fail on incorrect result.hw_watchpoint
Also tiny cleanups, making pylint happy.
Diffstat (limited to 'debug/testlib.py')
-rw-r--r-- | debug/testlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index 76f09f9..d278692 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -594,7 +594,7 @@ class Gdb(object): return output def swatch(self, expr): - hstate = self.command("show can-use-hw-watchpoints") + self.command("show can-use-hw-watchpoints") self.command("set can-use-hw-watchpoints 0") output = self.command("watch %s" % expr, ops=5) assert "not defined" not in output |