Eric Pouech : winedbg: Correct typedefs in type manipulations.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 5 07:28:12 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 65da8987d549d1136fade7d12ab68f5ef5a4d4e5
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=65da8987d549d1136fade7d12ab68f5ef5a4d4e5

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Sun Jun  4 09:47:48 2006 +0200

winedbg: Correct typedefs in type manipulations.

---

 programs/winedbg/types.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index f4df0d8..05e1e89 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -510,6 +510,11 @@ void print_value(const struct dbg_lvalue
         dbg_printf(": ");
         types_print_type(&lvalue->type, FALSE);
         break;
+    case SymTagTypedef:
+        lvalue_field = *lvalue;
+        types_get_info(&lvalue->type, TI_GET_TYPE, &lvalue_field.type.id);
+        print_value(&lvalue_field, format, level);
+        break;
     default:
         WINE_FIXME("Unknown tag (%lu)\n", tag);
         RaiseException(DEBUG_STATUS_INTERNAL_ERROR, 0, 0, NULL);
@@ -666,6 +671,9 @@ int types_print_type(const struct dbg_ty
         }
         dbg_printf(")");
         break;
+    case SymTagTypedef:
+        dbg_printf(name);
+        break;
     default:
         WINE_ERR("Unknown type %lu for %s\n", tag, name);
         break;




More information about the wine-cvs mailing list