From ef856a29efeb16f1a3a16c6edbf67bf92797c3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Thu, 30 May 2013 22:49:41 +0200 Subject: [PATCH] ntdll: Actually store PC in RtlCaptureContext on ARM. --- dlls/ntdll/signal_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/signal_arm.c b/dlls/ntdll/signal_arm.c index bf144a08346..6334a6e0dad 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"