gdbstub: Add trace event for STEP packet handler
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com> Acked-by: Alex Bennée <alex.bennee@linaro.org> Message-ID: <20260705215729.62196-7-philmd@oss.qualcomm.com>
Philippe Mathieu-Daudé committed
Jun 26, 2026 at 14:32 UTC
32822e389871d2596ccce1f25ec713356c5c0280
1 file changed
+1
gdbstub/gdbstub.c
+1
@@ -1369,6 +1369,7 @@ static void handle_step(GArray *params, void *user_ctx)
1369
gdb_set_cpu_pc(gdb_get_cmd_param(params, 0)->val_ull);
1370
}
1371
1372
+ trace_gdbstub_op_stepping(gdbserver_state.c_cpu->cpu_index);
1373
cpu_single_step(gdbserver_state.c_cpu, gdbserver_state.sstep_flags);
1374
gdb_continue();
1375
}