From c98763221af696a9e0c6686da7d65881bfd6bdd0 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 14 Mar 2017 12:56:49 -0700 Subject: [PATCH] Add DW_OP_GNU_variable_value Sync GCC dwarf.def change 2017-03-14 Jakub Jelinek PR debug/77589 * dwarf2.def (DW_OP_GNU_variable_value): New opcode. --- include/ChangeLog | 5 +++++ include/dwarf2.def | 3 +++ 2 files changed, 8 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index a484f1ab1fa..a329eb0c2c5 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2017-03-14 Jakub Jelinek + + PR debug/77589 + * dwarf2.def (DW_OP_GNU_variable_value): New opcode. + 2017-03-13 Markus Trippelsdorf PR demangler/70909 diff --git a/include/dwarf2.def b/include/dwarf2.def index ddadaccb25c..ea6194ef33e 100644 --- a/include/dwarf2.def +++ b/include/dwarf2.def @@ -675,6 +675,9 @@ DW_OP (DW_OP_GNU_parameter_ref, 0xfa) /* Extensions for Fission. See http://gcc.gnu.org/wiki/DebugFission. */ DW_OP (DW_OP_GNU_addr_index, 0xfb) DW_OP (DW_OP_GNU_const_index, 0xfc) +/* The GNU variable value extension. + See http://dwarfstd.org/ShowIssue.php?issue=161109.2 . */ +DW_OP (DW_OP_GNU_variable_value, 0xfd) /* HP extensions. */ DW_OP_DUP (DW_OP_HP_unknown, 0xe0) /* Ouch, the same as GNU_push_tls_address. */ DW_OP (DW_OP_HP_is_value, 0xe1) -- 2.30.2