On 23/9/25 04:39, Richard Henderson wrote:
This hasn't been needed since d828b92b8a6
("accel/tcg: Introduce CF_BP_PAGE").

Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
---
Cc: Alex Bennée <[email protected]>
Cc: Philippe Mathieu-Daudé <[email protected]>
---
  gdbstub/system.c | 4 ----
  gdbstub/user.c   | 3 ---
  2 files changed, 7 deletions(-)

diff --git a/gdbstub/system.c b/gdbstub/system.c
index 5be0d3c58c..df3514dc74 100644
--- a/gdbstub/system.c
+++ b/gdbstub/system.c
@@ -18,7 +18,6 @@
  #include "gdbstub/syscalls.h"
  #include "gdbstub/commands.h"
  #include "exec/hwaddr.h"
-#include "exec/tb-flush.h"
  #include "accel/accel-ops.h"
  #include "accel/accel-cpu-ops.h"
  #include "system/cpus.h"
@@ -174,9 +173,6 @@ static void gdb_vm_state_change(void *opaque, bool running, 
RunState state)
          } else {
              trace_gdbstub_hit_break();
          }
-        if (tcg_enabled()) {
-            tb_flush(cpu);
-        }
          ret = GDB_SIGNAL_TRAP;
          break;
      case RUN_STATE_PAUSED:

To squash:

-- >8 --
diff --git a/gdbstub/system.c b/gdbstub/system.c
index f31d401e0b3..c139476bf26 100644
--- a/gdbstub/system.c
+++ b/gdbstub/system.c
@@ -26,3 +26,2 @@
 #include "system/replay.h"
-#include "system/tcg.h"
 #include "hw/core/cpu.h"
---

Reply via email to