winedbg: Don't assert on some lvalue's write conditions.
This commit is contained in:
parent
22da105b4d
commit
e5555b0fb5
|
@ -121,9 +121,13 @@ BOOL memory_write_value(const struct dbg_lvalue* lvalue, DWORD size, void* value
|
||||||
BOOL ret = TRUE;
|
BOOL ret = TRUE;
|
||||||
DWORD64 os;
|
DWORD64 os;
|
||||||
|
|
||||||
os = ~(DWORD64)size;
|
if (!types_get_info(&lvalue->type, TI_GET_LENGTH, &os)) return FALSE;
|
||||||
types_get_info(&lvalue->type, TI_GET_LENGTH, &os);
|
if (size != os)
|
||||||
assert(size == os);
|
{
|
||||||
|
dbg_printf("Size mismatch in memory_write_value, got %u from type while expecting %u\n",
|
||||||
|
(DWORD)os, size);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
/* FIXME: only works on little endian systems */
|
/* FIXME: only works on little endian systems */
|
||||||
if (lvalue->cookie == DLV_TARGET)
|
if (lvalue->cookie == DLV_TARGET)
|
||||||
|
|
Loading…
Reference in New Issue