On Fri, Jun 1, 2012 at 3:16 PM, Davide Ferraretto
<femudevelopm...@gmail.com> wrote:
> In arm user mode, where does qemu exit? Where is last qemu's instruction?
>
> I.E.
> int main (){return 0;}
> in what file does qemu run "return 0"??

Simulated code reaches the point where libc calls 'exit' or 'exit_group' syscall
and then QEMU goes to the do_syscall in the linux-user/syscall.c to terminate
the process.

-- 
Thanks.
-- Max

Reply via email to