* gdb.base/callfuncs.exp (do_function_calls): Update for 'set
authorTom Tromey <tromey@redhat.com>
Mon, 21 May 2012 16:52:42 +0000 (16:52 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 21 May 2012 16:52:42 +0000 (16:52 +0000)
print symbol' change.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/callfuncs.exp

index 879afdd..8e36471 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-21  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
+       print symbol' change.
+
 2012-05-18  Thiago Jung Bauermann  <thiago.bauermann@linaro.org>
 
        * gdb.python/py-prompt.exp: Quit if the target is remote.
index c48fa60..3057020 100644 (file)
@@ -257,7 +257,7 @@ proc do_function_calls {} {
            "call inferior func with struct - returns long double _Complex"
     }
 
-    gdb_test "p t_structs_a(struct_val1)" "= (.unsigned char .. )?\"foo\"" \
+    gdb_test "p t_structs_a(struct_val1)" "= (.unsigned char .. )?<buf.*> \"foo\"" \
        "call inferior func with struct - returns char *"
 }