[PATCH] include: Add structure padding for aarch64 in dbghelp.h.

Biswapriyo Nath nathbappai at gmail.com
Wed Jul 21 03:55:26 CDT 2021


-------------- next part --------------
From 56ce3dbe9d5cc6242057147db57293bb2e765d2f Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Wed, 21 Jul 2021 14:23:57 +0530
Subject: [PATCH] include: Add structure padding for aarch64 in dbghelp.h.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
 include/dbghelp.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/dbghelp.h b/include/dbghelp.h
index 303c010..bf235c7 100644
--- a/include/dbghelp.h
+++ b/include/dbghelp.h
@@ -587,6 +587,9 @@ typedef struct _MINIDUMP_THREAD_CALLBACK
 {
     ULONG                       ThreadId;
     HANDLE                      ThreadHandle;
+#if defined(__aarch64__)
+    ULONG                       Pad;
+#endif
     CONTEXT                     Context;
     ULONG                       SizeOfContext;
     ULONG64                     StackBase;
@@ -597,6 +600,9 @@ typedef struct _MINIDUMP_THREAD_EX_CALLBACK
 {
     ULONG                       ThreadId;
     HANDLE                      ThreadHandle;
+#if defined(__aarch64__)
+    ULONG                       Pad;
+#endif
     CONTEXT                     Context;
     ULONG                       SizeOfContext;
     ULONG64                     StackBase;
-- 
2.32.0



More information about the wine-devel mailing list