winedbg: Implement be_arm_get_register_info.

This commit is contained in:
André Hentschel 2011-04-16 15:06:50 +02:00 committed by Alexandre Julliard
parent bdcc47d9e7
commit c9f76576ab
1 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,12 @@ static unsigned be_arm_get_addr(HANDLE hThread, const CONTEXT* ctx,
static unsigned be_arm_get_register_info(int regno, enum be_cpu_addr* kind)
{
dbg_printf("not done\n");
switch (regno)
{
case CV_ARM_PC: *kind = be_cpu_addr_pc; return TRUE;
case CV_ARM_R0 + 11: *kind = be_cpu_addr_frame; return TRUE;
case CV_ARM_SP: *kind = be_cpu_addr_stack; return TRUE;
}
return FALSE;
}