dbghelp: Proper support for nested types definitions (even in C).

This commit is contained in:
Eric Pouech 2006-06-18 21:31:46 +02:00 committed by Alexandre Julliard
parent 468956f4cd
commit 6cee154b23
1 changed files with 9 additions and 0 deletions

View File

@ -58,7 +58,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(dbghelp_dwarf);
* o local variables * o local variables
* o unspecified parameters * o unspecified parameters
* o inlined functions * o inlined functions
* o line numbers
* - Udt
* o proper types loading (addresses, bitfield, nesting)
*/ */
#if 0 #if 0
static void dump(const void* ptr, unsigned len) static void dump(const void* ptr, unsigned len)
{ {
@ -865,6 +869,11 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_parse_context_t* ctx,
case DW_TAG_enumeration_type: case DW_TAG_enumeration_type:
dwarf2_parse_enumeration_type(ctx, child); dwarf2_parse_enumeration_type(ctx, child);
break; break;
case DW_TAG_structure_type:
case DW_TAG_class_type:
case DW_TAG_union_type:
/* FIXME: we need to handle nested udt definitions */
break;
default: default:
FIXME("Unhandled Tag type 0x%lx at %s, for %s\n", FIXME("Unhandled Tag type 0x%lx at %s, for %s\n",
child->abbrev->tag, dwarf2_debug_ctx(ctx), dwarf2_debug_di(di)); child->abbrev->tag, dwarf2_debug_ctx(ctx), dwarf2_debug_di(di));