aboutsummaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-03 23:37:54 +0200
committerRichard Henderson <richard.henderson@linaro.org>2025-04-23 15:07:32 -0700
commit79b835f1395ea5cba9a1d5f02c0fb1a429d48e7d (patch)
treef11d9bb1448e7ccb250b106137e859d3ed089c62 /rust
parent8280a8b86659bf3c6965ccdad8458ab366817d6b (diff)
downloadqemu-79b835f1395ea5cba9a1d5f02c0fb1a429d48e7d.zip
qemu-79b835f1395ea5cba9a1d5f02c0fb1a429d48e7d.tar.gz
qemu-79b835f1395ea5cba9a1d5f02c0fb1a429d48e7d.tar.bz2
tcg: Include missing 'cpu.h' in translate-all.c
tb_check_watchpoint() calls cpu_get_tb_cpu_state(), which is declared in each "cpu.h" header. It is indirectly included via "tcg/insn-start-words.h". Since we want to rework "tcg/insn-start-words.h", removing "cpu.h" in the next commit, add the missing header now, otherwise we'd get: accel/tcg/translate-all.c:598:9: error: call to undeclared function 'cpu_get_tb_cpu_state' [-Wimplicit-function-declaration] 598 | cpu_get_tb_cpu_state(env, &pc, &cs_base, &flags); | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions