From c45a88f37a5618dd2da4cfb31180d10db1e131f4 Mon Sep 17 00:00:00 2001 From: liangzhen Date: Fri, 2 Feb 2024 10:00:23 +0800 Subject: [PATCH] Clear breakpoints so that gdb will not single step Signed-off-by: liangzhen Change-Id: I7a4a24972cfa2ddc307a5f06fe3fd5380794719f --- debug/gdbserver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/debug/gdbserver.py b/debug/gdbserver.py index 5450adb1e..4bfd408a5 100755 --- a/debug/gdbserver.py +++ b/debug/gdbserver.py @@ -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.