From: Tom Hughes Date: Wed, 15 Feb 2006 10:44:02 +0000 (+0000) Subject: Restore RIP on return from a signal handler on amd64 - mirrors the X-Git-Tag: svn/VALGRIND_3_2_0~262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb62675be99a7caac07fe4ca016c74243f3463d9;p=thirdparty%2Fvalgrind.git Restore RIP on return from a signal handler on amd64 - mirrors the change in revision 5641 to restore EIP on x86. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5652 --- diff --git a/coregrind/m_sigframe/sigframe-amd64-linux.c b/coregrind/m_sigframe/sigframe-amd64-linux.c index 804e4d910e..01933a650b 100644 --- a/coregrind/m_sigframe/sigframe-amd64-linux.c +++ b/coregrind/m_sigframe/sigframe-amd64-linux.c @@ -565,7 +565,7 @@ void restore_sigcontext( ThreadState *tst, tst->arch.vex.guest_R14 = sc->r14; tst->arch.vex.guest_R15 = sc->r15; //:: tst->arch.vex.guest_rflags = sc->rflags; -//:: tst->arch.vex.guest_RIP = sc->rip; + tst->arch.vex.guest_RIP = sc->rip; //:: tst->arch.vex.guest_CS = sc->cs; //:: tst->arch.vex.guest_FS = sc->fs;