Alexandre Julliard : winedbg: Use Win32 types instead of long long.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 23 10:35:17 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 9daaab54c7aae5d344ddcdcd430efc70f2746ab4
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9daaab54c7aae5d344ddcdcd430efc70f2746ab4
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jan 23 16:47:07 2006 +0100
winedbg: Use Win32 types instead of long long.
---
dlls/dbghelp/stabs.c | 4 ++--
programs/winedbg/be_alpha.c | 2 +-
programs/winedbg/be_cpu.h | 2 +-
programs/winedbg/be_i386.c | 4 ++--
programs/winedbg/be_ppc.c | 2 +-
programs/winedbg/memory.c | 2 +-
programs/winedbg/types.c | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dlls/dbghelp/stabs.c b/dlls/dbghelp/stabs.c
index 76629b7..75517df 100644
--- a/dlls/dbghelp/stabs.c
+++ b/dlls/dbghelp/stabs.c
@@ -428,7 +428,7 @@ static int stabs_pts_read_type_reference
struct pts_range_value
{
- unsigned long long val;
+ ULONGLONG val;
int sign;
};
@@ -483,7 +483,7 @@ static int stabs_pts_read_range(struct P
unsigned size;
enum BasicType bt;
int i;
- unsigned long long v;
+ ULONGLONG v;
/* type ';' <int> ';' <int> ';' */
PTS_ABORTIF(ptd, stabs_pts_read_type_def(ptd, NULL, &ref) == -1);
diff --git a/programs/winedbg/be_alpha.c b/programs/winedbg/be_alpha.c
index f4226b4..98bbe9a 100644
--- a/programs/winedbg/be_alpha.c
+++ b/programs/winedbg/be_alpha.c
@@ -130,7 +130,7 @@ static int be_alpha_adjust_pc_for_break(
}
static int be_alpha_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
- unsigned ext_sign, long long int* ret)
+ unsigned ext_sign, LONGLONG* ret)
{
dbg_printf("not done\n");
return FALSE;
diff --git a/programs/winedbg/be_cpu.h b/programs/winedbg/be_cpu.h
index c753d2f..d776cf1 100644
--- a/programs/winedbg/be_cpu.h
+++ b/programs/winedbg/be_cpu.h
@@ -103,7 +103,7 @@ struct backend_cpu
* basic type read/write
* -------------------------------------------------------------------------------*/
/* Reads an integer from memory and stores it inside a long long int */
- int (*fetch_integer)(const struct dbg_lvalue* lvalue, unsigned size, unsigned is_signed, long long int*);
+ int (*fetch_integer)(const struct dbg_lvalue* lvalue, unsigned size, unsigned is_signed, LONGLONG*);
/* Reads a real from memory and stores it inside a long double */
int (*fetch_float)(const struct dbg_lvalue* lvalue, unsigned size, long double*);
};
diff --git a/programs/winedbg/be_i386.c b/programs/winedbg/be_i386.c
index 4f340c7..f1ee7be 100644
--- a/programs/winedbg/be_i386.c
+++ b/programs/winedbg/be_i386.c
@@ -496,7 +496,7 @@ static int be_i386_adjust_pc_for_break(C
}
static int be_i386_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
- unsigned ext_sign, long long int* ret)
+ unsigned ext_sign, LONGLONG* ret)
{
if (size != 1 && size != 2 && size != 4 && size != 8) return FALSE;
@@ -509,7 +509,7 @@ static int be_i386_fetch_integer(const s
/* propagate sign information */
if (ext_sign && size < 8 && (*ret >> (size * 8 - 1)) != 0)
{
- long long unsigned int neg = -1;
+ ULONGLONG neg = -1;
*ret |= neg << (size * 8);
}
return TRUE;
diff --git a/programs/winedbg/be_ppc.c b/programs/winedbg/be_ppc.c
index 04e3cdd..e943dfa 100644
--- a/programs/winedbg/be_ppc.c
+++ b/programs/winedbg/be_ppc.c
@@ -154,7 +154,7 @@ static int be_ppc_adjust_pc_for_break(CO
}
static int be_ppc_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
- unsigned ext_sign, long long int* ret)
+ unsigned ext_sign, LONGLONG* ret)
{
dbg_printf("not done\n");
return FALSE;
diff --git a/programs/winedbg/memory.c b/programs/winedbg/memory.c
index 8e8b984..8b042c9 100644
--- a/programs/winedbg/memory.c
+++ b/programs/winedbg/memory.c
@@ -275,7 +275,7 @@ BOOL memory_get_string_indirect(struct d
static void print_typed_basic(const struct dbg_lvalue* lvalue)
{
- long long int val_int;
+ LONGLONG val_int;
void* val_ptr;
long double val_real;
DWORD64 size64;
diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index bb05422..052b8c6 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -38,7 +38,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(winedbg);
long int types_extract_as_integer(const struct dbg_lvalue* lvalue)
{
long int rtn = 0;
- long long int val;
+ LONGLONG val;
DWORD tag, bt;
DWORD64 size;
More information about the wine-cvs
mailing list