Commit ef856a29 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

ntdll: Actually store PC in RtlCaptureContext on ARM.

parent 007d50e9
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment