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:
parent
b480fb8695
commit
8799d50cc8
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue