Skip to content

Commit

Permalink
Merge pull request #533 from lz-bro/fix_icount
Browse files Browse the repository at this point in the history
Clear breakpoints so that gdb will not single step
  • Loading branch information
aap-sc authored Mar 2, 2024
2 parents a7c1a56 + c45a88f commit 06ca28c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions debug/gdbserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -2144,6 +2144,7 @@ def test(self):
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.
Expand Down

0 comments on commit 06ca28c

Please sign in to comment.