Skip to content

Commit c45a88f

Browse files
committed
Clear breakpoints so that gdb will not single step
Signed-off-by: liangzhen <[email protected]> Change-Id: I7a4a24972cfa2ddc307a5f06fe3fd5380794719f
1 parent 67e7759 commit c45a88f

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
@@ -2139,6 +2139,7 @@ def test(self):
21392139
main_post_csrr = self.gdb.p("&main_post_csrr")
21402140
assertEqual(self.gdb.p("$pc"), main_post_csrr)
21412141

2142+
self.gdb.command("delete")
21422143
self.gdb.command("monitor riscv icount clear")
21432144

21442145
# Execute 1 instruction.

0 commit comments

Comments
 (0)