gdb/testsuite/

* lib/dwarf.exp (_location): Handle DW_OP_deref_size.
	* gdb.trace/entry-values.c: New.
	* gdb.trace/entry-values.exp: New.
This commit is contained in:
Yao Qi
2013-08-24 01:53:06 +00:00
parent db68bbae94
commit b39a8faf7c
4 changed files with 291 additions and 0 deletions

View File

@ -667,6 +667,14 @@ namespace eval Dwarf {
_op .sleb128 [lindex $line 2]
}
DW_OP_deref_size {
if {[llength $line] != 2} {
error "usage: DW_OP_deref_size SIZE"
}
_op .byte [lindex $line 1]
}
default {
if {[llength $line] > 1} {
error "Unimplemented: operands in location for $opcode"