aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/templates.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/templates.exp')
-rw-r--r--gdb/testsuite/gdb.cp/templates.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/templates.exp b/gdb/testsuite/gdb.cp/templates.exp
index 0cc0e84..42dc1df 100644
--- a/gdb/testsuite/gdb.cp/templates.exp
+++ b/gdb/testsuite/gdb.cp/templates.exp
@@ -293,6 +293,8 @@ gdb_test "c" \
gdb_test "print fint" \
"\\$\[0-9\]* = \\{x = 0, t = 0\\}"
+# Prevent symbol on address 0x0 being printed.
+gdb_test_no_output "set print symbol off"
gdb_test "print fvpchar" \
"\\$\[0-9\]* = \\{x = 0, t = 0x0\\}"