projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
835f252
)
Fix formatting to make pylint happy.
author
Tim Newsome
<tim@sifive.com>
Mon, 30 Apr 2018 19:54:03 +0000
(12:54 -0700)
committer
Tim Newsome
<tim@sifive.com>
Mon, 30 Apr 2018 19:54:03 +0000
(12:54 -0700)
debug/gdbserver.py
patch
|
blob
|
history
diff --git
a/debug/gdbserver.py
b/debug/gdbserver.py
index af9a33456b5855c348f2fa28f209c2d276f6a9a4..98eb818d5ae4146358b92d6611acd798449c8e13 100755
(executable)
--- a/
debug/gdbserver.py
+++ b/
debug/gdbserver.py
@@
-881,13
+881,14
@@
class PrivRw(PrivTest):
# PMP registers are optional
pass
# 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:
try:
- self.gdb.p("$satp=0")
+
self.gdb.p("$satp=0")
except testlib.CouldNotFetch:
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):
# Leave the PC at _start, where the first 4 instructions should be
# legal in any mode.
for privilege in range(4):