[PATCH 17/31] [DbgHelp]: dwarf & nested types

Eric Pouech eric.pouech at wanadoo.fr
Sun Jun 18 14:31:46 CDT 2006


- proper support for nested types definitions (even in C)

A+
---

 dlls/dbghelp/dwarf.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index fdbd109..b88ea86 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -58,7 +58,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(dbghelp_dwarf
  *      o local variables
  *      o unspecified parameters
  *      o inlined functions
+ *      o line numbers
+ * - Udt
+ *      o proper types loading (addresses, bitfield, nesting)
  */
+
 #if 0
 static void dump(const void* ptr, unsigned len)
 {
@@ -865,6 +869,11 @@ static struct symt* dwarf2_parse_udt_typ
             case DW_TAG_enumeration_type:
                 dwarf2_parse_enumeration_type(ctx, child);
                 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:
                 FIXME("Unhandled Tag type 0x%lx at %s, for %s\n",
                       child->abbrev->tag, dwarf2_debug_ctx(ctx), dwarf2_debug_di(di));



More information about the wine-patches mailing list