exec: Declare CPUBreakpoint/CPUWatchpoint type in 'breakpoint.h' header
commit6ce1c9d08554c70da6ca7262b00361d8bdc1705b
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 26 Mar 2024 17:37:25 +0000 (26 18:37 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 15:03:05 +0000 (26 17:03 +0200)
tree85c01501363a29f5ee3cc50e841c8a3f65d01b98
parent9c1283dd76a4c21e1dd9d6a268f5d7383bbde77f
exec: Declare CPUBreakpoint/CPUWatchpoint type in 'breakpoint.h' header

The CPUBreakpoint and CPUWatchpoint structures are declared
in "hw/core/cpu.h", which contains declarations related to
CPUState and CPUClass. Some source files only require the
BP/WP definitions and don't need to pull in all CPU* API.
In order to simplify, create a new "exec/breakpoint.h" header.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20240418192525.97451-3-philmd@linaro.org>
include/exec/breakpoint.h [new file with mode: 0644]
include/hw/core/cpu.h
target/arm/internals.h
target/ppc/internal.h
target/riscv/debug.h