dbghelp: Implement arm_map_dwarf_register.

This commit is contained in:
André Hentschel 2011-04-15 19:32:30 +02:00 committed by Alexandre Julliard
parent a38f7e86be
commit 4055b7f2c3
1 changed files with 5 additions and 2 deletions

View File

@ -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)