On Thu, Aug 18, 2011 at 12:14, shbi shb <shbi....@gmail.com> 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, >