Handle clang naming of function static local variable.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / callfuncs.exp
index 263ec5585be790db70e244a90f360cb20875acac..fda3cb79232dfb95c4bfd20e91f89e533a8280df 100644 (file)
@@ -222,7 +222,7 @@ proc do_function_calls {} {
            "call inferior func with struct - returns long double _Complex"
     }
 
-    gdb_test "p t_structs_a(struct_val1)" "= (.unsigned char .. )?<buf.*> \"foo\"" \
+    gdb_test "p t_structs_a(struct_val1)" "= (.unsigned char .. )?<.*buf.*> \"foo\"" \
        "call inferior func with struct - returns char *"
 
     # Restore default value.
This page took 0.026874 seconds and 4 git commands to generate.