diff --git a/programs/winedbg/be_arm.c b/programs/winedbg/be_arm.c index a86dd16ccb7..77696ad03f0 100644 --- a/programs/winedbg/be_arm.c +++ b/programs/winedbg/be_arm.c @@ -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); diff --git a/programs/winedbg/be_arm64.c b/programs/winedbg/be_arm64.c index d0cb3bdb8c6..433026708c7 100644 --- a/programs/winedbg/be_arm64.c +++ b/programs/winedbg/be_arm64.c @@ -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); diff --git a/programs/winedbg/be_i386.c b/programs/winedbg/be_i386.c index 15c83297dcd..ca1ae5cde93 100644 --- a/programs/winedbg/be_i386.c +++ b/programs/winedbg/be_i386.c @@ -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); diff --git a/programs/winedbg/be_ppc.c b/programs/winedbg/be_ppc.c index c61e264dae4..0f6115a9924 100644 --- a/programs/winedbg/be_ppc.c +++ b/programs/winedbg/be_ppc.c @@ -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; diff --git a/programs/winedbg/be_x86_64.c b/programs/winedbg/be_x86_64.c index aa3a4b9aace..aedf3a38df8 100644 --- a/programs/winedbg/be_x86_64.c +++ b/programs/winedbg/be_x86_64.c @@ -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);