mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
gdbstub: introduce gdb_get_max_cpus
This is needed for handling vcont packets as the way of calculating max cpus vhanges between user and softmmu mode. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230302190846.2593720-17-alex.bennee@linaro.org> Message-Id: <20230303025805.625589-17-richard.henderson@linaro.org>
This commit is contained in:
@ -129,6 +129,7 @@ bool gdb_got_immediate_ack(void);
|
||||
CPUState *gdb_first_attached_cpu(void);
|
||||
void gdb_append_thread_id(CPUState *cpu, GString *buf);
|
||||
int gdb_get_cpu_index(CPUState *cpu);
|
||||
unsigned int gdb_get_max_cpus(void); /* both */
|
||||
|
||||
void gdb_create_default_process(GDBState *s);
|
||||
|
||||
|
Reference in New Issue
Block a user