Martin Storsjö : ntdll: Fix a typo in a log message for arm unwind data.
Module: wine Branch: master Commit: cad3668929c7ba775bdc8785cb231b96b42c6388 URL: https://source.winehq.org/git/wine.git/?a=commit;h=cad3668929c7ba775bdc8785c... Author: Martin Storsjö <martin(a)martin.st> Date: Mon May 9 23:34:18 2022 +0300 ntdll: Fix a typo in a log message for arm unwind data. The function length is expressed in units of 2 bytes. This was handled correctly in code (where it was multiplied by 2), but was incorrect in the log message. Signed-off-by: Martin Storsjö <martin(a)martin.st> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 12ffbb3663a..b8e5e790965 100644 --- a/dlls/ntdll/signal_arm.c +++ b/dlls/ntdll/signal_arm.c @@ -972,7 +972,7 @@ static void *unwind_full_data( ULONG_PTR base, ULONG_PTR pc, RUNTIME_FUNCTION *f end = (BYTE *)data + codes * 4; TRACE( "function %lx-%lx: len=%#x ver=%u X=%u E=%u F=%u epilogs=%u codes=%u\n", - base + func->BeginAddress, base + func->BeginAddress + info->function_length * 4, + base + func->BeginAddress, base + func->BeginAddress + info->function_length * 2, info->function_length, info->version, info->x, info->e, info->f, epilogs, codes * 4 ); /* check for prolog */
participants (1)
-
Alexandre Julliard