mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 20:03:38 +00:00
dbghelp: Fix dwarf2 subprogram handling.
Fix dwarf2_parse_subprogram_block when looking for inner information to use the child's debug_info (not the lexical_block one!) Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b99d7db835
commit
7790b395ce
|
@ -1833,13 +1833,13 @@ static void dwarf2_parse_subprogram_block(dwarf2_subprogram_t* subpgm,
|
|||
dwarf2_parse_variable(subpgm, block, child);
|
||||
break;
|
||||
case DW_TAG_pointer_type:
|
||||
dwarf2_parse_pointer_type(subpgm->ctx, di);
|
||||
dwarf2_parse_pointer_type(subpgm->ctx, child);
|
||||
break;
|
||||
case DW_TAG_subroutine_type:
|
||||
dwarf2_parse_subroutine_type(subpgm->ctx, di);
|
||||
dwarf2_parse_subroutine_type(subpgm->ctx, child);
|
||||
break;
|
||||
case DW_TAG_const_type:
|
||||
dwarf2_parse_const_type(subpgm->ctx, di);
|
||||
dwarf2_parse_const_type(subpgm->ctx, child);
|
||||
break;
|
||||
case DW_TAG_lexical_block:
|
||||
dwarf2_parse_subprogram_block(subpgm, block, child);
|
||||
|
|
Loading…
Reference in a new issue