From: edgar_igl Date: Wed, 8 Oct 2008 14:39:08 +0000 (+0000) Subject: CRIS: linux-user signals dont need ERP compensation after break anymore. X-Git-Tag: TizenStudio_2.0_p2.3~10776 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=096f46a6a8dad1ec0d5ce916cb8504488686731b;p=sdk%2Femulator%2Fqemu.git CRIS: linux-user signals dont need ERP compensation after break anymore. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5450 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/linux-user/signal.c b/linux-user/signal.c index 88f6a21..1dd634f 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -3023,9 +3023,6 @@ long do_sigreturn(CPUState *env) sigprocmask(SIG_SETMASK, &set, NULL); restore_sigcontext(&frame->sc, env); - /* Compensate for the syscall return path advancing brk. */ - env->pc -= 2; - unlock_user_struct(frame, frame_addr, 0); return env->regs[10]; badframe: