Eric Pouech : winedbg: Fix retrieving integral values.

Alexandre Julliard julliard at winehq.org
Tue May 24 15:55:02 CDT 2022


Module: wine
Branch: master
Commit: 685126e85711131c4a7b02bd612111a22fd5f53c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=685126e85711131c4a7b02bd612111a22fd5f53c

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Fri May 20 17:03:27 2022 +0200

winedbg: Fix retrieving integral values.

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;




More information about the wine-cvs mailing list