aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/accel.h
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 /include/qemu/accel.h
parent1e9fb43d30c0526e164bebaab387b615edfa79ad (diff)
downloadqemu-842e7eecd4446957c5edf0c65e5e41fadea2f015.zip
qemu-842e7eecd4446957c5edf0c65e5e41fadea2f015.tar.gz
qemu-842e7eecd4446957c5edf0c65e5e41fadea2f015.tar.bz2
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 'include/qemu/accel.h')
-rw-r--r--include/qemu/accel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/accel.h b/include/qemu/accel.h
index a6a95ff..1c097ac 100644
--- a/include/qemu/accel.h
+++ b/include/qemu/accel.h
@@ -50,7 +50,7 @@ typedef struct AccelClass {
hwaddr start_addr, hwaddr size);
/* gdbstub related hooks */
- int (*gdbstub_supported_sstep_flags)(void);
+ int (*gdbstub_supported_sstep_flags)(AccelState *as);
bool *allowed;
/*