winedbg: Amend parameter name in *_fetch_integer.

This commit is contained in:
Frédéric Delanoy 2013-11-14 02:19:20 +01:00 committed by Alexandre Julliard
parent 55ddb4d997
commit baf4757c46
5 changed files with 9 additions and 9 deletions

View File

@ -1845,7 +1845,7 @@ static int be_arm_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
}
static int be_arm_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
unsigned ext_sign, LONGLONG* ret)
unsigned is_signed, LONGLONG* ret)
{
if (size != 1 && size != 2 && size != 4 && size != 8) return FALSE;
@ -1856,7 +1856,7 @@ static int be_arm_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
if (!memory_read_value(lvalue, size, ret)) return FALSE;
/* propagate sign information */
if (ext_sign && size < 8 && (*ret >> (size * 8 - 1)) != 0)
if (is_signed && size < 8 && (*ret >> (size * 8 - 1)) != 0)
{
ULONGLONG neg = -1;
*ret |= neg << (size * 8);

View File

@ -230,7 +230,7 @@ static int be_arm64_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
}
static int be_arm64_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
unsigned ext_sign, LONGLONG* ret)
unsigned is_signed, LONGLONG* ret)
{
if (size != 1 && size != 2 && size != 4 && size != 8) return FALSE;
@ -241,7 +241,7 @@ static int be_arm64_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size
if (!memory_read_value(lvalue, size, ret)) return FALSE;
/* propagate sign information */
if (ext_sign && size < 8 && (*ret >> (size * 8 - 1)) != 0)
if (is_signed && size < 8 && (*ret >> (size * 8 - 1)) != 0)
{
ULONGLONG neg = -1;
*ret |= neg << (size * 8);

View File

@ -737,7 +737,7 @@ static int be_i386_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
}
static int be_i386_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
unsigned ext_sign, LONGLONG* ret)
unsigned is_signed, LONGLONG* ret)
{
if (size != 1 && size != 2 && size != 4 && size != 8) return FALSE;
@ -748,7 +748,7 @@ static int be_i386_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
if (!memory_read_value(lvalue, size, ret)) return FALSE;
/* propagate sign information */
if (ext_sign && size < 8 && (*ret >> (size * 8 - 1)) != 0)
if (is_signed && size < 8 && (*ret >> (size * 8 - 1)) != 0)
{
ULONGLONG neg = -1;
*ret |= neg << (size * 8);

View File

@ -160,7 +160,7 @@ static int be_ppc_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
}
static int be_ppc_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
unsigned ext_sign, LONGLONG* ret)
unsigned is_signed, LONGLONG* ret)
{
dbg_printf("not done\n");
return FALSE;

View File

@ -600,7 +600,7 @@ static int be_x86_64_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
}
static int be_x86_64_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
unsigned ext_sign, LONGLONG* ret)
unsigned is_signed, LONGLONG* ret)
{
if (size != 1 && size != 2 && size != 4 && size != 8 && size != 16)
return FALSE;
@ -612,7 +612,7 @@ static int be_x86_64_fetch_integer(const struct dbg_lvalue* lvalue, unsigned siz
if (!memory_read_value(lvalue, size, ret)) return FALSE;
/* propagate sign information */
if (ext_sign && size < 16 && (*ret >> (size * 8 - 1)) != 0)
if (is_signed && size < 16 && (*ret >> (size * 8 - 1)) != 0)
{
ULONGLONG neg = -1;
*ret |= neg << (size * 8);