[PATCH 2/7] programs/winedbg: fix retrieving integral values
Eric Pouech
wine at gitlab.winehq.org
Fri May 20 10:08:52 CDT 2022
From: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
programs/winedbg/types.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index 899e7f472b2..0abd2320570 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -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;
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/104
More information about the wine-devel
mailing list