From 40c1b47d31e8a86f431c16473d7dfc3e5952abd5 Mon Sep 17 00:00:00 2001 From: Michael Gilbert Date: Sat, 24 Sep 2022 18:29:03 +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