Commit 9285f1a215 for qemu.org

commit 9285f1a2159e87a3caecd594fd7c02616984f5fc
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date:   Fri Jun 26 16:44:36 2026 +0200

    gdbstub/user: Directly call gdb_breakpoint_remove_all() in user mode

    No need to deref external methods with unused argument to
    end up calling a method defined in the same unit file, call
    it directly.

    Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
    Reviewed-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-ID: <20260705215729.62196-23-philmd@oss.qualcomm.com>

diff --git a/gdbstub/user.c b/gdbstub/user.c
index 299388b9f7..90d6ee49fb 100644
--- a/gdbstub/user.c
+++ b/gdbstub/user.c
@@ -557,7 +557,7 @@ static void disable_gdbstub(CPUState *thread_cpu)
     close(gdbserver_user_state.fd);
     gdbserver_user_state.fd = -1;
     CPU_FOREACH(cpu) {
-        cpu_breakpoint_remove_all(cpu, BP_GDB);
+        gdb_breakpoint_remove_all(cpu);
         /* no cpu_watchpoint_remove_all for user-mode */
         cpu_single_step(cpu, 0);
     }