Skip to content
Snippets Groups Projects
Commit ae7979a4 authored by Martin Storsjö's avatar Martin Storsjö Committed by Alexandre Julliard
Browse files

winedump: Fix printing of the prologue version of the "ldr lr, [sp], #offset" opcode.


This isn't mentioned in the documentation (which only writes out the
instruction that is executed while unwinding, i.e. the mirror form of
it), but a prologue version of this instruction would look like this.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 22d2b61a
No related branches found
No related tags found
No related merge requests found
......@@ -1113,7 +1113,7 @@ static void dump_armnt_unwind_info( const struct runtime_function_armnt *fnc )
if (inepilogue)
printf( "ldr lr, [sp], #%u\n", (excode & 0x0f) * 4 );
else
printf( "unknown 32\n" );
printf( "str lr, [sp, #-%u]!\n", (excode & 0x0f) * 4 );
}
else
printf( "unknown 32\n" );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment