qemu/gdbstub
Philippe Mathieu-Daudé fe7667343c gdbstub: Include missing 'hw/core/cpu.h' header
Functions such gdb_get_cpu_pid() dereference CPUState so
require the structure declaration from "hw/core/cpu.h":

  static uint32_t gdb_get_cpu_pid(CPUState *cpu)
  {
    ...
    return cpu->cluster_index + 1;
  }

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Message-Id: <20231211212003.21686-15-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
2024-04-26 15:31:37 +02:00
..
gdbstub.c gdbstub: Include missing 'hw/core/cpu.h' header 2024-04-26 15:31:37 +02:00
internals.h gdbstub/system: Rename 'user_ctx' argument as 'ctx' 2024-04-02 14:55:07 +02:00
meson.build meson: remove config_targetos 2023-12-31 09:11:28 +01:00
syscalls.c gdbstub: Build syscall.c once 2023-03-07 20:44:09 +00:00
system.c gdbstub/system: Rename 'user_ctx' argument as 'ctx' 2024-04-02 14:55:07 +02:00
trace-events gdbstub: Rename 'softmmu' -> 'system' 2023-10-07 19:02:59 +02:00
trace.h gdbstub: move into its own sub directory 2022-10-06 11:53:41 +01:00
user-target.c {linux,bsd}-user: Introduce get_task_state() 2024-03-06 12:35:19 +00:00
user.c gdbstub: Fix double close() of the follow-fork-mode socket 2024-03-13 11:43:52 +00:00