[PATCH 21/22] [WineDbg]: host references lookup
Eric Pouech
eric.pouech at wanadoo.fr
Fri Nov 24 15:18:47 CST 2006
- since more and more information in now available through
the CPU registers, those require DLV_HOST access to be
a bit better handled than it is...
A+
---
programs/winedbg/memory.c | 2 --
programs/winedbg/types.c | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/programs/winedbg/memory.c b/programs/winedbg/memory.c
index e3f11c4..7a2a818 100644
--- a/programs/winedbg/memory.c
+++ b/programs/winedbg/memory.c
@@ -394,7 +394,6 @@ static void print_typed_basic(const stru
break;
case SymTagArrayType:
case SymTagUDT:
- assert(lvalue->cookie == DLV_TARGET);
if (!memory_read_value(lvalue, sizeof(val_ptr), &val_ptr)) return;
dbg_printf("%p", val_ptr);
break;
@@ -402,7 +401,6 @@ static void print_typed_basic(const stru
{
BOOL ok = FALSE;
- assert(lvalue->cookie == DLV_TARGET);
/* FIXME: it depends on underlying type for enums
* (not supported yet in dbghelp)
* Assuming 4 as for an int
diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index 0268978..da62669 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -106,12 +106,10 @@ long int types_extract_as_integer(const
break;
case SymTagArrayType:
case SymTagUDT:
- assert(lvalue->cookie == DLV_TARGET);
if (!memory_read_value(lvalue, sizeof(rtn), &rtn))
RaiseException(DEBUG_STATUS_INTERNAL_ERROR, 0, 0, NULL);
break;
case SymTagEnum:
- assert(lvalue->cookie == DLV_TARGET);
if (!memory_read_value(lvalue, sizeof(rtn), &rtn))
RaiseException(DEBUG_STATUS_INTERNAL_ERROR, 0, 0, NULL);
break;
More information about the wine-patches
mailing list