aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2018-04-30 12:54:03 -0700
committerTim Newsome <tim@sifive.com>2018-04-30 12:54:03 -0700
commit35a6b67f48782994d7a62cf46e0aef9190d5d7d9 (patch)
tree3ec4fac47f42f30ed717080873b27c9eb1c47195
parent835f252ebe59ef782e96f467462a03754ea87936 (diff)
downloadriscv-tests-35a6b67f48782994d7a62cf46e0aef9190d5d7d9.zip
riscv-tests-35a6b67f48782994d7a62cf46e0aef9190d5d7d9.tar.gz
riscv-tests-35a6b67f48782994d7a62cf46e0aef9190d5d7d9.tar.bz2
Fix formatting to make pylint happy.
-rwxr-xr-xdebug/gdbserver.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py
index af9a334..98eb818 100755
--- a/debug/gdbserver.py
+++ b/debug/gdbserver.py
@@ -881,13 +881,14 @@ class PrivRw(PrivTest):
# PMP registers are optional
pass
- # Ensure Virtual Memory is disabled if applicable (SATP register is not reset)
+ # Ensure Virtual Memory is disabled if applicable (SATP register is not
+ # reset)
try:
- self.gdb.p("$satp=0")
+ self.gdb.p("$satp=0")
except testlib.CouldNotFetch:
- # SATP only exists if you have S mode.
- pass
-
+ # SATP only exists if you have S mode.
+ pass
+
# Leave the PC at _start, where the first 4 instructions should be
# legal in any mode.
for privilege in range(4):