From 9156501084e32727d160df568f6a99c793cd4c64 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Sun, 13 Mar 2011 21:30:34 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c index e78026fd102..95160dc19cd 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);