aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2022-12-01 10:30:50 -0800
committerGitHub <noreply@github.com>2022-12-01 10:30:50 -0800
commit6d915ba5dab4f7b087af7aac080b23a9255d8b18 (patch)
treee30390103d792885dadd57dd4929f90bccdc2047
parent6a4225fae83a1ad9bf9687c13f1046baa401269e (diff)
downloadriscv-tests-6d915ba5dab4f7b087af7aac080b23a9255d8b18.zip
riscv-tests-6d915ba5dab4f7b087af7aac080b23a9255d8b18.tar.gz
riscv-tests-6d915ba5dab4f7b087af7aac080b23a9255d8b18.tar.bz2
`flush regs` -> `maintenance flush register-cache` (#431)
`flush regs` is being deprecated.
-rw-r--r--debug/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index 20264e9..27a9694 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -1219,7 +1219,7 @@ class GdbTest(BaseTest):
self.gdb.command("info breakpoints", reset_delays=None)
self.gdb.command("disassemble", ops=20, reset_delays=None)
self.gdb.command("info registers all", ops=20, reset_delays=None)
- self.gdb.command("flush regs", reset_delays=None)
+ self.gdb.command("maintenance flush register-cache", reset_delays=None)
self.gdb.command("info threads", ops=20, reset_delays=None)
def classTeardown(self):