summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/unavailable.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.trace/unavailable.exp')
-rw-r--r--gdb/testsuite/gdb.trace/unavailable.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.trace/unavailable.exp b/gdb/testsuite/gdb.trace/unavailable.exp
index ca2e9eb2703..60bb41b7fc7 100644
--- a/gdb/testsuite/gdb.trace/unavailable.exp
+++ b/gdb/testsuite/gdb.trace/unavailable.exp
@@ -475,7 +475,7 @@ proc gdb_collect_globals_test { } { with_test_prefix "collect globals" {
"non collected const string is still printable"
gdb_test "print g_string_p" \
- " = $hex \"hello world\"" \
+ " = $hex <g_const_string> \"hello world\"" \
"printing constant string through collected pointer"
gdb_test "print g_string_unavail" \