mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* 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.
This commit is contained in:
gdb/testsuite
@ -1,3 +1,11 @@
|
|||||||
|
Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
|
Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
* gdb.base/funcargs.exp (float_and_integral_args): Remove
|
* gdb.base/funcargs.exp (float_and_integral_args): Remove
|
||||||
|
@ -115,7 +115,7 @@ proc do_function_calls {} {
|
|||||||
gdb_test "p t_float_values2(0.0,0.0)" " = 0"
|
gdb_test "p t_float_values2(0.0,0.0)" " = 0"
|
||||||
|
|
||||||
# Although PR 5318 mentions SunOS specifically, this seems
|
# 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 {
|
if $prototypes then {
|
||||||
setup_xfail "*-*-*" 5318
|
setup_xfail "*-*-*" 5318
|
||||||
clear_xfail "rs6000-*-*"
|
clear_xfail "rs6000-*-*"
|
||||||
@ -196,8 +196,7 @@ proc do_function_calls {} {
|
|||||||
setup_xfail "i*86-*-*"
|
setup_xfail "i*86-*-*"
|
||||||
gdb_test "p t_structs_d(struct_val1)" "= 9.87.*" \
|
gdb_test "p t_structs_d(struct_val1)" "= 9.87.*" \
|
||||||
"call inferior func with struct - returns double"
|
"call inferior func with struct - returns double"
|
||||||
if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix*" }
|
gdb_test "p t_structs_a(struct_val1)" "= (.unsigned char .. )?\"foo\"" \
|
||||||
gdb_test "p t_structs_a(struct_val1)" "= \"foo\"" \
|
|
||||||
"call inferior func with struct - returns char *"
|
"call inferior func with struct - returns char *"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user