Re: [Qemu-devel] Guest Code Instruction Trace

2013-12-23 Thread Lauren E Guckert
Thanks for the fast response, I really appreciate it. I implemented all of your suggestions and now it all works perfectly! On Mon, Dec 23, 2013 at 3:02 AM, Peter Maydell wrote: > On 23 December 2013 03:45, Lauren E Guckert wrote: > > IN TRANSLATE.C: > > DISAS_INSN FUNCTION: > > > > ++TCGv

Re: [Qemu-devel] Guest Code Instruction Trace

2013-12-23 Thread Peter Maydell
On 23 December 2013 03:45, Lauren E Guckert wrote: > IN TRANSLATE.C: > DISAS_INSN FUNCTION: > > ++TCGv t0 = tcg_temp_new(); > ++TCGv t1 = tcg_temp_new(); > ++t0= pc_start; t1 = b; > ++tcg_gen_helper_fast_trace(t0,t1); The TCGv type represents a TCG value. You have to use the TCG f

[Qemu-devel] Guest Code Instruction Trace

2013-12-22 Thread Lauren E Guckert
Hi All, I am relatively new to QEMU. I am using the latest version from git and I am trying to add the necessary code to QEMU to perform a dynamic instruction trace of guest code. My basic approach is to add a op call to a function I have created with the parameters PC and opcode into the disassm