* gdb.base/callfuncs.exp (do_function_calls): Update for 'set

print symbol' change.
This commit is contained in:
Tom Tromey 2012-05-21 16:52:42 +00:00
parent e550e1a2af
commit 248537e34b
2 changed files with 6 additions and 1 deletions

View 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.

View 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 *"
}