* gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 25 May 2012 21:54:16 +0000 (21:54 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Fri, 25 May 2012 21:54:16 +0000 (21:54 +0000)
for 'set print symbol' change.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/unavailable.exp

index 9b8afca34368ce99ca63fa1a1e1a0755e9a1b53a..c09f5a1d1c7db546d8da519e964a822035fd79a1 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-25  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
+       for 'set print symbol' change.
+
 2012-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
index ca2e9eb2703d4e9e7a97570564c8a37e257c87ad..60bb41b7fc7b417d0c7055ef2deeafaa325a1e7e 100644 (file)
@@ -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" \