This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Add DW_OP_GNU_variable_value
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 14 Mar 2017 19:58:24 -0000
- Subject: [binutils-gdb] Add DW_OP_GNU_variable_value
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c98763221af696a9e0c6686da7d65881bfd6bdd0
commit c98763221af696a9e0c6686da7d65881bfd6bdd0
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Mar 14 12:56:49 2017 -0700
Add DW_OP_GNU_variable_value
Sync GCC dwarf.def change
2017-03-14 Jakub Jelinek <jakub@redhat.com>
PR debug/77589
* dwarf2.def (DW_OP_GNU_variable_value): New opcode.
Diff:
---
include/ChangeLog | 5 +++++
include/dwarf2.def | 3 +++
2 files changed, 8 insertions(+)
diff --git a/include/ChangeLog b/include/ChangeLog
index a484f1a..a329eb0 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/77589
+ * dwarf2.def (DW_OP_GNU_variable_value): New opcode.
+
2017-03-13 Markus Trippelsdorf <markus@trippelsdorf.de>
PR demangler/70909
diff --git a/include/dwarf2.def b/include/dwarf2.def
index ddadacc..ea6194e 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)