Eric Pouech : winedbg: Print array size when looking at its type.
Alexandre Julliard
julliard at winehq.org
Mon Jun 29 09:17:45 CDT 2009
Module: wine
Branch: master
Commit: bfb6c80148de62b4d26983691e8c01d7a2c3723b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bfb6c80148de62b4d26983691e8c01d7a2c3723b
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sun Jun 28 21:00:11 2009 +0200
winedbg: Print array size when looking at its type.
---
programs/winedbg/types.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index cc981a9..a13f77f 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -671,7 +671,10 @@ int types_print_type(const struct dbg_type* type, BOOL details)
types_get_info(type, TI_GET_TYPE, &subtype.id);
subtype.module = type->module;
types_print_type(&subtype, details);
- dbg_printf(" %s[]", name);
+ if (types_get_info(type, TI_GET_COUNT, &count))
+ dbg_printf(" %s[%d]", name, count);
+ else
+ dbg_printf(" %s[]", name);
break;
case SymTagEnum:
dbg_printf("enum %s", name);
More information about the wine-cvs
mailing list