1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

winedbg: Fix retrieving integral values.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
(cherry picked from commit 685126e857)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Eric Pouech 2022-05-20 17:03:27 +02:00 committed by Alexandre Julliard
parent b480fb8695
commit 8799d50cc8

View file

@ -91,11 +91,15 @@ dbg_lgint_t types_extract_as_lgint(const struct dbg_lvalue* lvalue,
switch (bt)
{
case btChar:
case btWChar:
case btBool:
case btInt:
case btLong:
if (!memory_fetch_integer(lvalue, (unsigned)size, s = TRUE, &rtn))
RaiseException(DEBUG_STATUS_INTERNAL_ERROR, 0, 0, NULL);
break;
case btUInt:
case btULong:
if (!memory_fetch_integer(lvalue, (unsigned)size, s = FALSE, &rtn))
RaiseException(DEBUG_STATUS_INTERNAL_ERROR, 0, 0, NULL);
break;