On 7/17/2010 10:33 AM, Skip Tavakkolian wrote:
is there a way to do in acid the equivalent to gdb 'call'?


Did you try to write an acid function with something like this :

*PC=test

where 'test' is the name of the function to call such as:

void test(void)
{
    print("hello from test\n");
}

?

You'll have to save SP, PC, and maybe add a breakpoint somewhere and even push the address of this breakpoint to SP before calling 'cont()' acid function. But I think it will do the trick.

Phil;

Reply via email to