diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-12-17 06:50:23 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2017-12-29 12:43:40 -0800 |
commit | 4fad446bc955fcaa08a21388cf82268824bea10e (patch) | |
tree | dd29b50d469e3b6702cfb3417c1d67ed3e71331b /accel/tcg/tcg-runtime.c | |
parent | 1df3caa946e08b387511dfba3a37d78910e51796 (diff) | |
download | qemu-4fad446bc955fcaa08a21388cf82268824bea10e.zip qemu-4fad446bc955fcaa08a21388cf82268824bea10e.tar.gz qemu-4fad446bc955fcaa08a21388cf82268824bea10e.tar.bz2 |
tcg: add cs_base and flags to -d exec output
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20171217055023.29225-1-pbonzini@redhat.com>
[rth: Also change the Chain logging in helper_lookup_tb_ptr.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/tcg-runtime.c')
-rw-r--r-- | accel/tcg/tcg-runtime.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/accel/tcg/tcg-runtime.c b/accel/tcg/tcg-runtime.c index 4172ffd..d0d4484 100644 --- a/accel/tcg/tcg-runtime.c +++ b/accel/tcg/tcg-runtime.c @@ -156,8 +156,9 @@ void *HELPER(lookup_tb_ptr)(CPUArchState *env) return tcg_ctx->code_gen_epilogue; } qemu_log_mask_and_addr(CPU_LOG_EXEC, pc, - "Chain %p [%d: " TARGET_FMT_lx "] %s\n", - tb->tc.ptr, cpu->cpu_index, pc, + "Chain %d: %p [" + TARGET_FMT_lx "/" TARGET_FMT_lx "/%#x] %s\n", + cpu->cpu_index, tb->tc.ptr, cs_base, pc, flags, lookup_symbol(pc)); return tb->tc.ptr; } |