From 2353c6aac6ce6fb8e5864a12a6bd6c85c35affab Mon Sep 17 00:00:00 2001 From: Michael Gilbert Date: Wed, 6 Jul 2022 01:44:32 +0100 Subject: [PATCH] retrieve the correct union member Gbp-Pq: Topic arm64 Gbp-Pq: Name incorrect-member.patch --- dlls/dbghelp/cpu_arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dbghelp/cpu_arm64.c b/dlls/dbghelp/cpu_arm64.c index 2c767e7..be1570b 100644 --- a/dlls/dbghelp/cpu_arm64.c +++ b/dlls/dbghelp/cpu_arm64.c @@ -170,7 +170,7 @@ static unsigned arm64_map_dwarf_register(unsigned regno, const struct module* mo static void *arm64_fetch_context_reg(union ctx *pctx, unsigned regno, unsigned *size) { #ifdef __aarch64__ - CONTEXT *ctx = pctx; + CONTEXT *ctx = &pctx->ctx; switch (regno) { -- 2.30.2