]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/s390x: Disassemble EXECUTEd instructions
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 3 Apr 2024 18:05:09 +0000 (08:05 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 15 May 2024 06:55:19 +0000 (08:55 +0200)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/s390x/tcg/translate.c

index 95d4d6ebc35c0b7e79b79f81027528b6c61c9bc7..bac033c63c37d258a5d622820c6106aa3ca5ff80 100644 (file)
@@ -6525,8 +6525,9 @@ static bool s390x_tr_disas_log(const DisasContextBase *dcbase,
     DisasContext *dc = container_of(dcbase, DisasContext, base);
 
     if (unlikely(dc->ex_value)) {
-        /* ??? Unfortunately target_disas can't use host memory.  */
-        fprintf(logfile, "IN: EXECUTE %016" PRIx64, dc->ex_value);
+        /* The ex_value has been recorded with translator_fake_ld. */
+        fprintf(logfile, "IN: EXECUTE\n");
+        target_disas(logfile, cs, &dc->base);
         return true;
     }
     return false;