+2018-08-18 Kevin Buettner <kevinb@redhat.com>
+
+ * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
+
2018-08-17 Alan Hayward <alan.hayward@arm.com>
PR gdb/18931
_op .sleb128 [lindex $line 2]
}
+ DW_OP_GNU_variable_value {
+ if {[llength $line] != 2} {
+ error "usage: $opcode LABEL"
+ }
+
+ # Here label is a section offset.
+ set label [lindex $line 1]
+ if { $_cu_version == 2 } {
+ _op .${_cu_addr_size}byte $label
+ } else {
+ _op .${_cu_offset_size}byte $label
+ }
+ }
+
DW_OP_deref_size {
if {[llength $line] != 2} {
error "usage: DW_OP_deref_size SIZE"