On 2/16/26 8:03 AM, Peter Maydell wrote:
The target/arm/debug_helper.c file has some code which we need
for non-TCG accelerators, but quite a lot which is guarded by
a CONFIG_TCG ifdef. Move all this TCG-only code out to a
new file target/arm/tcg/debug.c.

In particular all the code requiring access to the TCG
helper function prototypes is in the moved code, so we can
drop the use of tcg/helper.h from debug_helper.c.

Signed-off-by: Peter Maydell <[email protected]>
---
  target/arm/debug_helper.c                  | 769 ---------------------
  target/arm/{debug_helper.c => tcg/debug.c} | 542 +--------------
  target/arm/tcg/meson.build                 |   2 +
  3 files changed, 3 insertions(+), 1310 deletions(-)
  copy target/arm/{debug_helper.c => tcg/debug.c} (53%)


Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to