winedbg: Implement adjust_pc_for_break on ARM.

This commit is contained in:
André Hentschel 2010-10-06 22:20:29 +02:00 committed by Alexandre Julliard
parent 1760483dfb
commit 0d0d30505d
1 changed files with 7 additions and 2 deletions

View File

@ -142,8 +142,13 @@ static void be_arm_clear_watchpoint(CONTEXT* ctx, unsigned idx)
static int be_arm_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
{
dbg_printf("not done\n");
return 0;
if (way)
{
ctx->Pc--;
return -1;
}
ctx->Pc++;
return 1;
}
static int be_arm_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,