Eric Pouech : dbghelp/dwarf: Fix a couple of parent/child mismatch.

Alexandre Julliard julliard at winehq.org
Mon Sep 27 15:21:43 CDT 2021


Module: wine
Branch: master
Commit: e362ed8c286bf46c2e8525c5a64ad65350260033
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e362ed8c286bf46c2e8525c5a64ad65350260033

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Sun Sep 26 14:46:30 2021 +0200

dbghelp/dwarf: Fix a couple of parent/child mismatch.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/dwarf.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 192dbf59814..731a7136601 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -1688,7 +1688,7 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_debug_info_t* di,
         switch (child->abbrev->tag)
         {
         case DW_TAG_array_type:
-            dwarf2_parse_array_type(di);
+            dwarf2_parse_array_type(child);
             break;
         case DW_TAG_member:
             /* FIXME: should I follow the sibling stuff ?? */
@@ -1705,7 +1705,7 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_debug_info_t* di,
             dwarf2_parse_const_type(child);
             break;
         case DW_TAG_volatile_type:
-            dwarf2_parse_volatile_type(di);
+            dwarf2_parse_volatile_type(child);
             break;
         case DW_TAG_pointer_type:
             dwarf2_parse_pointer_type(child);
@@ -2205,10 +2205,10 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_debug_info_t* di)
             dwarf2_parse_inlined_subroutine(&subpgm, NULL, child);
             break;
         case DW_TAG_pointer_type:
-            dwarf2_parse_pointer_type(di);
+            dwarf2_parse_pointer_type(child);
             break;
         case DW_TAG_const_type:
-            dwarf2_parse_const_type(di);
+            dwarf2_parse_const_type(child);
             break;
         case DW_TAG_subprogram:
             /* FIXME: likely a declaration (to be checked)




More information about the wine-cvs mailing list