target/mips: Use VADDR_PRIx for logging pc_next

DisasContextBase.pc_next has type vaddr; use the correct log format.

Fixes: 85c19af63e7 ("include/exec: Use vaddr in DisasContextBase for virtual addresses")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2025-02-18 08:26:40 -08:00
parent a0ea8654e5
commit a630055df3

View File

@ -18,8 +18,8 @@ static bool trans_BBIT(DisasContext *ctx, arg_BBIT *a)
TCGv p; TCGv p;
if (ctx->hflags & MIPS_HFLAG_BMASK) { if (ctx->hflags & MIPS_HFLAG_BMASK) {
LOG_DISAS("Branch in delay / forbidden slot at PC 0x" LOG_DISAS("Branch in delay / forbidden slot at PC 0x%" VADDR_PRIx "\n",
TARGET_FMT_lx "\n", ctx->base.pc_next); ctx->base.pc_next);
generate_exception_end(ctx, EXCP_RI); generate_exception_end(ctx, EXCP_RI);
return true; return true;
} }