mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
include/exec: Use vaddr in DisasContextBase for virtual addresses
Updates target/ QEMU_LOG macros to use VADDR_PRIx for printing updated DisasContextBase fields. Signed-off-by: Anton Johansson <anjo@rev.ng> Message-Id: <20240119144024.14289-10-anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
32f0c394bb
commit
85c19af63e
5 changed files with 14 additions and 12 deletions
|
@ -234,7 +234,8 @@ static int read_packet_words(CPUHexagonState *env, DisasContext *ctx,
|
|||
g_assert(ctx->base.num_insns == 1);
|
||||
}
|
||||
|
||||
HEX_DEBUG_LOG("decode_packet: pc = 0x%x\n", ctx->base.pc_next);
|
||||
HEX_DEBUG_LOG("decode_packet: pc = 0x%" VADDR_PRIx "\n",
|
||||
ctx->base.pc_next);
|
||||
HEX_DEBUG_LOG(" words = { ");
|
||||
for (int i = 0; i < nwords; i++) {
|
||||
HEX_DEBUG_LOG("0x%x, ", words[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue