winedbg: Host references lookup.

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...
This commit is contained in:
Eric Pouech 2006-11-24 22:18:47 +01:00 committed by Alexandre Julliard
parent 62f16d3cd4
commit 135f2e1b79
2 changed files with 0 additions and 4 deletions

View File

@ -394,7 +394,6 @@ static void print_typed_basic(const struct dbg_lvalue* lvalue)
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 struct dbg_lvalue* lvalue)
{
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

View File

@ -106,12 +106,10 @@ long int types_extract_as_integer(const struct dbg_lvalue* lvalue)
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;