[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] arm return

From: Max Filippov
Subject: Re: [Qemu-devel] arm return
Date: Fri, 1 Jun 2012 15:43:32 +0400

On Fri, Jun 1, 2012 at 3:16 PM, Davide Ferraretto
<address@hidden> 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.

-- Max

reply via email to

[Prev in Thread] Current Thread [Next in Thread]