[PATCH 1/2] ntdll: Fix a typo in a log message for arm unwind data
Martin Storsjö
wine at gitlab.winehq.org
Wed May 11 05:19:35 CDT 2022
From: Martin Storsjö <martin at martin.st>
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 at martin.st>
---
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 */
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/56
More information about the wine-devel
mailing list