target/hppa: Log unimplemented instructions
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 27 Oct 2017 14:26:59 +0000 (16:26 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 30 Jan 2018 18:22:26 +0000 (10:22 -0800)
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/translate.c

index 1cd57f5a9089d6c5591ff41f650ab34b411c5fa0..6288bb9f67103d7e52f94eccb1ce92de9445b125 100644 (file)
@@ -4218,6 +4218,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);
 }