winedbg: Implement adjust_pc_for_break on Sparc.

This commit is contained in:
André Hentschel 2011-04-13 20:43:43 +02:00 committed by Alexandre Julliard
parent f2fc5e6e17
commit 59ca0059b6
1 changed files with 7 additions and 2 deletions

View File

@ -125,8 +125,13 @@ static void be_sparc_clear_watchpoint(CONTEXT* ctx, unsigned idx)
static int be_sparc_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
{
dbg_printf("not done for Sparc\n");
return 0;
if (way)
{
ctx->pc--;
return -1;
}
ctx->pc++;
return 1;
}
static int be_sparc_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,