dbghelp: When handling a P augmentation in FDE/DIE parsing, throw away the DW_EH_indirect flag, as we don't handle the result.

It's needed as long as we don't support DW_EH_indirect while reading encoded values.
This commit is contained in:
Eric Pouech 2010-04-01 21:24:26 +02:00 committed by Alexandre Julliard
parent 1b68d4e7ce
commit a185435243

View File

@ -2383,6 +2383,8 @@ static BOOL parse_cie_details(dwarf2_traverse_context_t* ctx, struct frame_info*
case 'P':
{
unsigned char encoding = dwarf2_parse_byte(ctx);
/* throw away the indirect bit, as we don't care for the result */
encoding &= ~DW_EH_PE_indirect;
dwarf2_parse_augmentation_ptr(ctx, encoding); /* handler */
continue;
}