[PATCH 01/12] dbghelp/dwarf: Fixed a couple of parent/child mismatch

Eric Pouech eric.pouech at gmail.com
Sun Sep 26 07:46:30 CDT 2021


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 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-devel mailing list