Skip to content

Commit 06ca28c

Browse files
authored
Merge pull request #533 from lz-bro/fix_icount
Clear breakpoints so that gdb will not single step
2 parents a7c1a56 + c45a88f commit 06ca28c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

debug/gdbserver.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2144,6 +2144,7 @@ def test(self):
21442144
main_post_csrr = self.gdb.p("&main_post_csrr")
21452145
assertEqual(self.gdb.p("$pc"), main_post_csrr)
21462146

2147+
self.gdb.command("delete")
21472148
self.gdb.command("monitor riscv icount clear")
21482149

21492150
# Execute 1 instruction.

0 commit comments

Comments
 (0)