summary refs log tree commit diff stats
path: root/accel/hvf/hvf-all.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-06-20 10:59:21 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-04 12:08:44 +0200
commit842e7eecd4446957c5edf0c65e5e41fadea2f015 (patch)
tree44b9b102b8ffb3ee02c9698395ff50519ddc3b83 /accel/hvf/hvf-all.c
parent1e9fb43d30c0526e164bebaab387b615edfa79ad (diff)
downloadfocaccia-qemu-842e7eecd4446957c5edf0c65e5e41fadea2f015.tar.gz
focaccia-qemu-842e7eecd4446957c5edf0c65e5e41fadea2f015.zip
accel: Pass AccelState argument to gdbstub_supported_sstep_flags()
In order to have AccelClass methods instrospect their state,
we need to pass AccelState by argument.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250703173248.44995-37-philmd@linaro.org>
Diffstat (limited to 'accel/hvf/hvf-all.c')
-rw-r--r--accel/hvf/hvf-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/hvf/hvf-all.c b/accel/hvf/hvf-all.c
index 68f1425fae..b6075c036e 100644
--- a/accel/hvf/hvf-all.c
+++ b/accel/hvf/hvf-all.c
@@ -281,7 +281,7 @@ static int hvf_accel_init(AccelState *as, MachineState *ms)
     return hvf_arch_init();
 }
 
-static int hvf_gdbstub_sstep_flags(void)
+static int hvf_gdbstub_sstep_flags(AccelState *as)
 {
     return SSTEP_ENABLE | SSTEP_NOIRQ;
 }