[Qemu-devel] [PULL 20/43] target/hppa: Log unimplemented instructions

Richard Henderson posted 43 patches 7 years, 11 months ago
[Qemu-devel] [PULL 20/43] target/hppa: Log unimplemented instructions
Posted by Richard Henderson 7 years, 11 months ago
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 target/hppa/translate.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index cad661e39f..7334206b44 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -4207,6 +4207,8 @@ static DisasJumpType translate_table_int(DisasContext *ctx, uint32_t insn,
             return table[i].trans(ctx, insn, &table[i]);
         }
     }
+    qemu_log_mask(LOG_UNIMP, "UNIMP insn %08x @ " TARGET_FMT_lx "\n",
+                  insn, ctx->base.pc_next);
     return gen_illegal(ctx);
 }
 
-- 
2.14.3