winedbg: Fix PC adjustment for ARM.

This commit is contained in:
André Hentschel 2011-04-19 21:55:00 +02:00 committed by Alexandre Julliard
parent 5cccad1311
commit 894f892b93
1 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
*
* Copyright 2000-2003 Marcus Meissner
* 2004 Eric Pouech
* 2010 André Hentschel
* 2010, 2011 André Hentschel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -164,11 +164,11 @@ static int be_arm_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
{
if (way)
{
ctx->Pc--;
return -1;
ctx->Pc-=4;
return -4;
}
ctx->Pc++;
return 1;
ctx->Pc+=4;
return 4;
}
static int be_arm_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,