aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatoly Parshintsev <114445139+aap-sc@users.noreply.github.com>2024-03-02 10:54:20 +0300
committerGitHub <noreply@github.com>2024-03-02 10:54:20 +0300
commit06ca28cb085a1b5c572dc90e941d674a72e41353 (patch)
tree7a5eab276be3d9c82955376ae6cf50390e53a777
parenta7c1a5621834a73ec99d64dfb505a279545780b0 (diff)
parentc45a88f37a5618dd2da4cfb31180d10db1e131f4 (diff)
downloadriscv-tests-06ca28cb085a1b5c572dc90e941d674a72e41353.zip
riscv-tests-06ca28cb085a1b5c572dc90e941d674a72e41353.tar.gz
riscv-tests-06ca28cb085a1b5c572dc90e941d674a72e41353.tar.bz2
Merge pull request #533 from lz-bro/fix_icount
Clear breakpoints so that gdb will not single step
-rwxr-xr-xdebug/gdbserver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py
index 245f62d..603861d 100755
--- a/debug/gdbserver.py
+++ b/debug/gdbserver.py
@@ -2144,6 +2144,7 @@ class IcountTest(DebugTest):
main_post_csrr = self.gdb.p("&main_post_csrr")
assertEqual(self.gdb.p("$pc"), main_post_csrr)
+ self.gdb.command("delete")
self.gdb.command("monitor riscv icount clear")
# Execute 1 instruction.