clang names the local variable t_structs_a.buf.
gdb/testsuite/ChangeLog:
* gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
of function static local variable.
+2015-09-15 Doug Evans <dje@google.com>
+
+ * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
+ of function static local variable.
+
2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* gdb.threads/tls-so_extern.exp: New test file.
"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.