diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-06-20 10:59:21 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-07-04 15:22:04 +0200 |
commit | 261573c7724ffca8795416eae8b435e175672491 (patch) | |
tree | 1305ef028777e50af557925cc3651d9993443c54 /include/qemu/accel.h | |
parent | c7212fd2ce9182ec205dd22ff5bc66864fb3cd10 (diff) | |
download | qemu-261573c7724ffca8795416eae8b435e175672491.zip qemu-261573c7724ffca8795416eae8b435e175672491.tar.gz qemu-261573c7724ffca8795416eae8b435e175672491.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>
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.h | 2 |
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; /* |