From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C41C578.5080007@bouyapop.org> Date: Sat, 17 Jul 2010 17:00:08 +0200 From: Philippe Anel User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: 9fans@9fans.net References: <16b49e4e76df857990ac9dedae73c171@9netics.com> In-Reply-To: <16b49e4e76df857990ac9dedae73c171@9netics.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] acid question Topicbox-Message-UUID: 3ff83cc0-ead6-11e9-9d60-3106f5b1d025 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;