aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/callfuncs.exp
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1995-09-02 07:25:13 +0000
committerFred Fish <fnf@specifix.com>1995-09-02 07:25:13 +0000
commit218f9f03b889ab048141eac1ef6125adef22afc8 (patch)
tree0c5883e369a132a5fd0120ff6eb89b38127ebe71 /gdb/testsuite/gdb.base/callfuncs.exp
parent1613e0758eb1e86b29734ac170618e1458244728 (diff)
downloadgdb-218f9f03b889ab048141eac1ef6125adef22afc8.zip
gdb-218f9f03b889ab048141eac1ef6125adef22afc8.tar.gz
gdb-218f9f03b889ab048141eac1ef6125adef22afc8.tar.bz2
* gdb.base/callfuncs.exp (do_function_calls): Remove
mips-sgi-irix* xfail for "call inferior func with struct - returns char *" and fix test so that an optional (unsigned char *) cast is accepted in the result.
Diffstat (limited to 'gdb/testsuite/gdb.base/callfuncs.exp')
-rw-r--r--gdb/testsuite/gdb.base/callfuncs.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp
index 7dca116..d16fb0d 100644
--- a/gdb/testsuite/gdb.base/callfuncs.exp
+++ b/gdb/testsuite/gdb.base/callfuncs.exp
@@ -115,7 +115,7 @@ proc do_function_calls {} {
gdb_test "p t_float_values2(0.0,0.0)" " = 0"
# Although PR 5318 mentions SunOS specifically, this seems
- # to be a generic problem on all platforms except r6000.
+ # to be a generic problem on quite a few platforms.
if $prototypes then {
setup_xfail "*-*-*" 5318
clear_xfail "rs6000-*-*"
@@ -196,8 +196,7 @@ proc do_function_calls {} {
setup_xfail "i*86-*-*"
gdb_test "p t_structs_d(struct_val1)" "= 9.87.*" \
"call inferior func with struct - returns double"
- if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix*" }
- gdb_test "p t_structs_a(struct_val1)" "= \"foo\"" \
+ gdb_test "p t_structs_a(struct_val1)" "= (.unsigned char .. )?\"foo\"" \
"call inferior func with struct - returns char *"
}