dbghelp: In dwarf unwinder, fix the last valid IP value to be used for a given line of Call Frame Information.

This commit is contained in:
Eric Pouech 2011-03-13 21:30:34 +01:00 committed by Alexandre Julliard
parent 44eed2465c
commit 9156501084
1 changed files with 1 additions and 1 deletions

View File

@ -2658,7 +2658,7 @@ static int valid_reg(ULONG_PTR reg)
static void execute_cfa_instructions(dwarf2_traverse_context_t* ctx, static void execute_cfa_instructions(dwarf2_traverse_context_t* ctx,
ULONG_PTR last_ip, struct frame_info *info) 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); enum dwarf_call_frame_info op = dwarf2_parse_byte(ctx);