dwarf2.h (DW_OP_GNU_encoded_addr): New.
* dwarf2.h (DW_OP_GNU_encoded_addr): New. * unwind-dw2.c (execute_stack_op): Handle it. From-SVN: r140648
This commit is contained in:
parent
cf8e1455a4
commit
b5e9dce1fe
@ -1,3 +1,8 @@
|
||||
2008-09-24 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* dwarf2.h (DW_OP_GNU_encoded_addr): New.
|
||||
* unwind-dw2.c (execute_stack_op): Handle it.
|
||||
|
||||
2008-09-24 David Edelsohn <edelsohn@gnu.org>
|
||||
|
||||
Revert:
|
||||
|
@ -543,6 +543,7 @@ enum dwarf_location_atom
|
||||
DW_OP_GNU_push_tls_address = 0xe0,
|
||||
/* The following is for marking variables that are uninitialized. */
|
||||
DW_OP_GNU_uninit = 0xf0,
|
||||
DW_OP_GNU_encoded_addr = 0xf1,
|
||||
/* HP extensions. */
|
||||
DW_OP_HP_unknown = 0xe0, /* Ouch, the same as GNU_push_tls_address. */
|
||||
DW_OP_HP_is_value = 0xe1,
|
||||
|
@ -494,6 +494,14 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end,
|
||||
op_ptr += sizeof (void *);
|
||||
break;
|
||||
|
||||
case DW_OP_GNU_encoded_addr:
|
||||
{
|
||||
_Unwind_Ptr presult;
|
||||
op_ptr = read_encoded_value (context, *op_ptr, op_ptr+1, &presult);
|
||||
result = presult;
|
||||
}
|
||||
break;
|
||||
|
||||
case DW_OP_const1u:
|
||||
result = read_1u (op_ptr);
|
||||
op_ptr += 1;
|
||||
|
Loading…
Reference in New Issue
Block a user