From 4055b7f2c31f10b67b19c3d54a4a659c7115cc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Fri, 15 Apr 2011 19:32:30 +0200 Subject: [PATCH] dbghelp: Implement arm_map_dwarf_register. --- dlls/dbghelp/cpu_arm.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/dbghelp/cpu_arm.c b/dlls/dbghelp/cpu_arm.c index 43658288a91..2dd20a05185 100644 --- a/dlls/dbghelp/cpu_arm.c +++ b/dlls/dbghelp/cpu_arm.c @@ -54,8 +54,11 @@ static BOOL arm_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame, CON static unsigned arm_map_dwarf_register(unsigned regno) { - FIXME("not done for ARM\n"); - return 0; + if (regno <= 15) return CV_ARM_R0 + regno; + if (regno == 128) return CV_ARM_CPSR; + + FIXME("Don't know how to map register %d\n", regno); + return CV_ARM_NOREG; } static void* arm_fetch_context_reg(CONTEXT* ctx, unsigned regno, unsigned* size)