dbghelp: Added support for DW_CFA_GNU_args_size.

This commit is contained in:
Eric Pouech 2010-04-06 22:28:24 +02:00 committed by Alexandre Julliard
parent d9c01dcc40
commit 196f8f070d
2 changed files with 13 additions and 0 deletions

View File

@ -2672,6 +2672,14 @@ static void execute_cfa_instructions(dwarf2_traverse_context_t* ctx,
ctx->data += len;
break;
}
case DW_CFA_GNU_args_size:
/* FIXME: should check that GCC is the compiler for this CU */
{
ULONG_PTR args = dwarf2_leb128_as_unsigned(ctx);
TRACE("%lx: DW_CFA_GNU_args_size %lu\n", info->ip, args);
/* ignored */
break;
}
default:
FIXME("%lx: unknown CFA opcode %02x\n", info->ip, op);
break;

View File

@ -449,6 +449,11 @@ enum dwarf_call_frame_info
DW_CFA_val_offset = 0x14,
DW_CFA_val_offset_sf = 0x15,
DW_CFA_val_expression = 0x16,
/* GNU extensions */
DW_CFA_GNU_window_save = 0x2d,
DW_CFA_GNU_args_size = 0x2e,
DW_CFA_GNU_negative_offset_extended = 0x2f,
};
#define DW_EH_PE_native 0x00