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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 20 05:23:38 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 6cee154b23361112dc162624e75b6d669f0a05d6
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=6cee154b23361112dc162624e75b6d669f0a05d6

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Sun Jun 18 21:31:46 2006 +0200

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

---

 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 19dc812..f0d4ea0 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-cvs mailing list