[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Get execution trace and tcg fatal error!
From: |
TeLeMan |
Subject: |
Re: [Qemu-devel] Get execution trace and tcg fatal error! |
Date: |
Thu, 18 Aug 2011 12:40:51 +0800 |
On Thu, Aug 18, 2011 at 12:14, shbi shb <address@hidden> wrote:
> Hi,
>
> I am new to QEMU and I need to get guest Windows instructions traceon Qemu.
> I added the following codes to Qemu but I got tcg fatal error :
>
> 1- I added a helper function in helper.h : DEF_HELPER_1(get_trace, void,
> i32)
> 2- I added a function gen_helper_get_trace(pc_start) in disas_insn function
The type of gen_helper_xxx parameters should be TCGv, so the correct
usage is the following:
gen_helper_get_trace(tcg_const_i32(pc_start)).
> 3- I added the implementation of get_trace (helper_get_trace) in op_helper.c
> file.
>
> I'll appreciate if somebody helps me about this issue.
>
> Thank you,
>