Eric Pouech : dbghelp: In dwarf unwinder, fix the last valid IP value to be used for a given line of Call Frame Information .
Alexandre Julliard
julliard at winehq.org
Mon Mar 14 14:29:38 CDT 2011
Module: wine
Branch: master
Commit: 9156501084e32727d160df568f6a99c793cd4c64
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9156501084e32727d160df568f6a99c793cd4c64
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sun Mar 13 21:30:34 2011 +0100
dbghelp: In dwarf unwinder, fix the last valid IP value to be used for a given line of Call Frame Information.
---
dlls/dbghelp/dwarf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index e78026f..95160dc 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -2658,7 +2658,7 @@ static int valid_reg(ULONG_PTR reg)
static void execute_cfa_instructions(dwarf2_traverse_context_t* ctx,
ULONG_PTR last_ip, struct frame_info *info)
{
- while (ctx->data < ctx->end_data && info->ip < last_ip + info->signal_frame)
+ while (ctx->data < ctx->end_data && info->ip <= last_ip + info->signal_frame)
{
enum dwarf_call_frame_info op = dwarf2_parse_byte(ctx);
More information about the wine-cvs
mailing list