winedbg: Resolve typedefs when checking for user defined type.
All that matters is that the real type is a user defined type (e.g. structure, class, or union), so I used types_get_real_type instead of types_get_info to avoid issues with typedefs.
This commit is contained in:
parent
fe8f6b8068
commit
262e1bfa92
|
@ -263,8 +263,7 @@ BOOL types_udt_find_element(struct dbg_lvalue* lvalue, const char* name, long in
|
|||
char tmp[256];
|
||||
struct dbg_type type;
|
||||
|
||||
if (!types_get_info(&lvalue->type, TI_GET_SYMTAG, &tag) ||
|
||||
tag != SymTagUDT)
|
||||
if (!types_get_real_type(&lvalue->type, &tag) || tag != SymTagUDT)
|
||||
return FALSE;
|
||||
|
||||
if (types_get_info(&lvalue->type, TI_GET_CHILDRENCOUNT, &count))
|
||||
|
|
Loading…
Reference in New Issue