aboutsummaryrefslogtreecommitdiff
path: root/include/dwarf2.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-06-22 15:03:19 +0000
committerJakub Jelinek <jakub@redhat.com>2011-06-22 15:03:19 +0000
commitf8b999f94554f44229f48a6c93fc14e715871091 (patch)
treee2aa65ff240d99dc69a889386b148ed4d0b477cf /include/dwarf2.h
parentc38c4bc5b298545effe1f4afb31d53d66153f189 (diff)
downloadgdb-f8b999f94554f44229f48a6c93fc14e715871091.zip
gdb-f8b999f94554f44229f48a6c93fc14e715871091.tar.gz
gdb-f8b999f94554f44229f48a6c93fc14e715871091.tar.bz2
* dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
* dwarf.c (decode_location_expression): For DW_OP_GNU_convert and DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset. Handle DW_OP_GNU_parameter_ref.
Diffstat (limited to 'include/dwarf2.h')
-rw-r--r--include/dwarf2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dwarf2.h b/include/dwarf2.h
index 0b00866..b2806ef 100644
--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -563,6 +563,8 @@ enum dwarf_location_atom
DW_OP_GNU_deref_type = 0xf6,
DW_OP_GNU_convert = 0xf7,
DW_OP_GNU_reinterpret = 0xf9,
+ /* The GNU parameter ref extension. */
+ DW_OP_GNU_parameter_ref = 0xfa,
/* HP extensions. */
DW_OP_HP_unknown = 0xe0, /* Ouch, the same as GNU_push_tls_address. */
DW_OP_HP_is_value = 0xe1,