Commit baf4757c authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

winedbg: Amend parameter name in *_fetch_integer.

parent 55ddb4d9
...@@ -1845,7 +1845,7 @@ static int be_arm_adjust_pc_for_break(CONTEXT* ctx, BOOL way) ...@@ -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, 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; 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, ...@@ -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; if (!memory_read_value(lvalue, size, ret)) return FALSE;
/* propagate sign information */ /* 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; ULONGLONG neg = -1;
*ret |= neg << (size * 8); *ret |= neg << (size * 8);
......
...@@ -230,7 +230,7 @@ static int be_arm64_adjust_pc_for_break(CONTEXT* ctx, BOOL way) ...@@ -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, 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; 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 ...@@ -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; if (!memory_read_value(lvalue, size, ret)) return FALSE;
/* propagate sign information */ /* 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; ULONGLONG neg = -1;
*ret |= neg << (size * 8); *ret |= neg << (size * 8);
......
...@@ -737,7 +737,7 @@ static int be_i386_adjust_pc_for_break(CONTEXT* ctx, BOOL way) ...@@ -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, 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; 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, ...@@ -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; if (!memory_read_value(lvalue, size, ret)) return FALSE;
/* propagate sign information */ /* 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; ULONGLONG neg = -1;
*ret |= neg << (size * 8); *ret |= neg << (size * 8);
......
...@@ -160,7 +160,7 @@ static int be_ppc_adjust_pc_for_break(CONTEXT* ctx, BOOL way) ...@@ -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, 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"); dbg_printf("not done\n");
return FALSE; return FALSE;
......
...@@ -600,7 +600,7 @@ static int be_x86_64_adjust_pc_for_break(CONTEXT* ctx, BOOL way) ...@@ -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, 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) if (size != 1 && size != 2 && size != 4 && size != 8 && size != 16)
return FALSE; return FALSE;
...@@ -612,7 +612,7 @@ static int be_x86_64_fetch_integer(const struct dbg_lvalue* lvalue, unsigned siz ...@@ -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; if (!memory_read_value(lvalue, size, ret)) return FALSE;
/* propagate sign information */ /* 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; ULONGLONG neg = -1;
*ret |= neg << (size * 8); *ret |= neg << (size * 8);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment