aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/make-visualizer.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/make-visualizer.exp')
-rw-r--r--gdb/testsuite/gdb.python/make-visualizer.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.python/make-visualizer.exp b/gdb/testsuite/gdb.python/make-visualizer.exp
index 5794bbd..2c6b40d 100644
--- a/gdb/testsuite/gdb.python/make-visualizer.exp
+++ b/gdb/testsuite/gdb.python/make-visualizer.exp
@@ -98,9 +98,9 @@ Dwarf::assemble $asm_file {
# Used for testing synthetic pointers.
DW_TAG_variable {
DW_AT_name synthptr
- DW_AT_location [subst {
- GNU_implicit_pointer $variable_label 0
- }] SPECIAL_expr
+ DW_AT_location {
+ DW_OP_GNU_implicit_pointer $variable_label 0
+ } SPECIAL_expr
DW_AT_type :$pointer_label
}