[PATCH 03/11] [DbgHelp]: in dwarf unwinder, fix the last valid IP value to be used for a given line of Call Frame Information
Eric Pouech
eric.pouech at orange.fr
Sun Mar 13 15:30:34 CDT 2011
A+
---
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-patches
mailing list