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>
This commit is contained in:
Philippe Mathieu-Daudé 2025-06-20 10:59:21 +02:00
parent 1e9fb43d30
commit 842e7eecd4
5 changed files with 5 additions and 5 deletions

View file

@ -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;
/*