[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tcg: add cs_base and flags to -d exec output
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH] tcg: add cs_base and flags to -d exec output |
Date: |
Mon, 18 Dec 2017 10:56:56 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
On 12/16/2017 09:50 PM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> accel/tcg/cpu-exec.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c
> index 4318441e4c..18c1a2aedb 100644
> --- a/accel/tcg/cpu-exec.c
> +++ b/accel/tcg/cpu-exec.c
> @@ -146,8 +146,10 @@ static inline tcg_target_ulong cpu_tb_exec(CPUState
> *cpu, TranslationBlock *itb)
> uint8_t *tb_ptr = itb->tc.ptr;
>
> qemu_log_mask_and_addr(CPU_LOG_EXEC, itb->pc,
> - "Trace %p [%d: " TARGET_FMT_lx "] %s\n",
> - itb->tc.ptr, cpu->cpu_index, itb->pc,
> + "Trace %d: %p ["
> + TARGET_FMT_lx "/" TARGET_FMT_lx "/%d] %s\n",
> + cpu->cpu_index, itb->tc.ptr,
> + itb->cs_base, itb->pc, itb->flags,
> lookup_symbol(itb->pc));
Thanks, applied to tcg-next.
r~