Commit bfb6c801 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Print array size when looking at its type.

parent 56a92c25
...@@ -671,7 +671,10 @@ int types_print_type(const struct dbg_type* type, BOOL details) ...@@ -671,7 +671,10 @@ int types_print_type(const struct dbg_type* type, BOOL details)
types_get_info(type, TI_GET_TYPE, &subtype.id); types_get_info(type, TI_GET_TYPE, &subtype.id);
subtype.module = type->module; subtype.module = type->module;
types_print_type(&subtype, details); 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; break;
case SymTagEnum: case SymTagEnum:
dbg_printf("enum %s", name); dbg_printf("enum %s", name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment