Re: [Qemu-devel] help with helper functions

2012-03-20 Thread Peter Maydell
On 19 March 2012 22:34, João Corrêa wrote: > I'm trying to use some helper functions to instrument translated code, but > I'm getting some segfaults while doing it. Here are some code I've placed: > > target-i386/helper.h > DEF_HELPER_1(foo, void, tl) > > target-i386/op_helper.c > #ifdef TARGET_X8

[Qemu-devel] help with helper functions

2012-03-19 Thread João Corrêa
Hi Guys, I'm trying to use some helper functions to instrument translated code, but I'm getting some segfaults while doing it. Here are some code I've placed: target-i386/helper.h DEF_HELPER_1(foo, void, tl) target-i386/op_helper.c #ifdef TARGET_X86_64 void foo(target_ulong t0){ } target-i386