Skip to content

Commit

Permalink
Clear breakpoints so that gdb will not single step
Browse files Browse the repository at this point in the history
Signed-off-by: liangzhen <[email protected]>
Change-Id: I7a4a24972cfa2ddc307a5f06fe3fd5380794719f
  • Loading branch information
lz-bro committed Feb 2, 2024
1 parent 67e7759 commit c45a88f
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 @@ -2139,6 +2139,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 c45a88f

Please sign in to comment.