Eric Pouech : dbghelp: When handling a P augmentation in FDE/DIE parsing, throw away the DW_EH_indirect flag, as we don't handle the result.
Alexandre Julliard
julliard at winehq.org
Fri Apr 2 10:17:10 CDT 2010
Module: wine
Branch: master
Commit: a185435243b863066ba6f65032e7e3fc3b395704
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a185435243b863066ba6f65032e7e3fc3b395704
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Thu Apr 1 21:24:26 2010 +0200
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.
---
dlls/dbghelp/dwarf.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 68e322c..41e2397 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -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;
}
More information about the wine-cvs
mailing list