Commit b5e9dce1 by Richard Henderson Committed by Richard Henderson

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
parent cf8e1455
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> 2008-09-24 David Edelsohn <edelsohn@gnu.org>
Revert: Revert:
......
...@@ -543,6 +543,7 @@ enum dwarf_location_atom ...@@ -543,6 +543,7 @@ enum dwarf_location_atom
DW_OP_GNU_push_tls_address = 0xe0, DW_OP_GNU_push_tls_address = 0xe0,
/* The following is for marking variables that are uninitialized. */ /* The following is for marking variables that are uninitialized. */
DW_OP_GNU_uninit = 0xf0, DW_OP_GNU_uninit = 0xf0,
DW_OP_GNU_encoded_addr = 0xf1,
/* HP extensions. */ /* HP extensions. */
DW_OP_HP_unknown = 0xe0, /* Ouch, the same as GNU_push_tls_address. */ DW_OP_HP_unknown = 0xe0, /* Ouch, the same as GNU_push_tls_address. */
DW_OP_HP_is_value = 0xe1, DW_OP_HP_is_value = 0xe1,
......
...@@ -494,6 +494,14 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end, ...@@ -494,6 +494,14 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end,
op_ptr += sizeof (void *); op_ptr += sizeof (void *);
break; 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: case DW_OP_const1u:
result = read_1u (op_ptr); result = read_1u (op_ptr);
op_ptr += 1; op_ptr += 1;
......
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