hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/kernel/debug/kdb/kdb_debugger.c
....@@ -147,7 +147,6 @@
147147 return DBG_PASS_EVENT;
148148 }
149149 kdb_bp_install(ks->linux_regs);
150
- dbg_activate_sw_breakpoints();
151150 /* Set the exit state to a single step or a continue */
152151 if (KDB_STATE(DOING_SS))
153152 gdbstub_state(ks, "s");
....@@ -167,7 +166,6 @@
167166 * differently vs the gdbstub
168167 */
169168 kgdb_single_step = 0;
170
- dbg_deactivate_sw_breakpoints();
171169 return DBG_SWITCH_CPU_EVENT;
172170 }
173171 return kgdb_info[ks->cpu].ret_state;