On 3/25/22 05:49, Peter Maydell wrote:
On Sun, 20 Mar 2022 at 16:12, Richard Henderson
wrote:
The child side of clone needs to set the secondary
syscall return value, r7, to indicate syscall success.
Advance the pc before do_syscall, so that the new thread
does not re-execute the clone syscal
On Sun, 20 Mar 2022 at 16:12, Richard Henderson
wrote:
>
> The child side of clone needs to set the secondary
> syscall return value, r7, to indicate syscall success.
>
> Advance the pc before do_syscall, so that the new thread
> does not re-execute the clone syscall.
>
> Signed-off-by: Richard He
The child side of clone needs to set the secondary
syscall return value, r7, to indicate syscall success.
Advance the pc before do_syscall, so that the new thread
does not re-execute the clone syscall.
Signed-off-by: Richard Henderson
---
linux-user/nios2/target_cpu.h | 1 +
linux-user/nios2/cp