summary refs log tree commit diff stats
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 15:22:04 +0200
commit261573c7724ffca8795416eae8b435e175672491 (patch)
tree1305ef028777e50af557925cc3651d9993443c54 /include/qemu/accel.h
parentc7212fd2ce9182ec205dd22ff5bc66864fb3cd10 (diff)
downloadfocaccia-qemu-261573c7724ffca8795416eae8b435e175672491.tar.gz
focaccia-qemu-261573c7724ffca8795416eae8b435e175672491.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>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
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 a6a95ff0bc..1c097ac4df 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;
     /*