André Hentschel : ntdll: Actually store PC in RtlCaptureContext on ARM.
Module: wine Branch: master Commit: ef856a29efeb16f1a3a16c6edbf67bf92797c3d6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ef856a29efeb16f1a3a16c6edb... Author: André Hentschel <nerv(a)dawncrow.de> Date: Thu May 30 22:49:41 2013 +0200 ntdll: Actually store PC in RtlCaptureContext on ARM. --- dlls/ntdll/signal_arm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ntdll/signal_arm.c b/dlls/ntdll/signal_arm.c index bf144a0..6334a6e 100644 --- a/dlls/ntdll/signal_arm.c +++ b/dlls/ntdll/signal_arm.c @@ -221,7 +221,7 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4, "str IP, [r0, #0x34]\n\t" /* context->Ip */ "str SP, [r0, #0x38]\n\t" /* context->Sp */ "str LR, [r0, #0x3c]\n\t" /* context->Lr */ - "str LR, [r0, #0x40]\n\t" /* context->Pc */ + "str PC, [r0, #0x40]\n\t" /* context->Pc */ "mrs r1, CPSR\n\t" "str r1, [r0, #0x44]\n\t" /* context->Cpsr */ "mov PC, LR\n"
participants (1)
-
Alexandre Julliard