mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
winedbg: Correct typedefs in type manipulations.
This commit is contained in:
parent
bda34ac973
commit
65da8987d5
@ -510,6 +510,11 @@ void print_value(const struct dbg_lvalue* lvalue, char format, int level)
|
||||
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_type* type, BOOL details)
|
||||
}
|
||||
dbg_printf(")");
|
||||
break;
|
||||
case SymTagTypedef:
|
||||
dbg_printf(name);
|
||||
break;
|
||||
default:
|
||||
WINE_ERR("Unknown type %lu for %s\n", tag, name);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user