Commit 91565010 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: In dwarf unwinder, fix the last valid IP value to be used for a given…

dbghelp: In dwarf unwinder, fix the last valid IP value to be used for a given line of Call Frame Information.
parent 44eed246
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment