aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/nodebug.exp
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1995-08-28 09:44:14 +0000
committerFred Fish <fnf@specifix.com>1995-08-28 09:44:14 +0000
commit5762d8c6f39cb9e5b1767aac565c87cecf025c91 (patch)
tree52960c3aa8ee4e38c194e42b44eec4b5298b4223 /gdb/testsuite/gdb.base/nodebug.exp
parent338a70607027a9d055ee941232c60d464f18af32 (diff)
downloadgdb-5762d8c6f39cb9e5b1767aac565c87cecf025c91.zip
gdb-5762d8c6f39cb9e5b1767aac565c87cecf025c91.tar.gz
gdb-5762d8c6f39cb9e5b1767aac565c87cecf025c91.tar.bz2
* gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc compiled test. * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer): Add mips-sgi-irix5* xfail for not gcc compiled. * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci. * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for "p top", "whatis top", "p middle", and "whatis middle". * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for "whatis signed char" for not gcc compiled. * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for "set variable signed char=-1 (-1)" and "set variable signed char=0xFF (0xFF)" for not gcc compiled. * gdb.base/funcargs.exp (float_and_integral_args): Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled. Add mips-sgi-irix* xfail when not gcc compiled for "continue to call2b". Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for "continue to call2g". (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for "backtrace from call6a" (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail when not gcc compiled for "backtrace from call7a". (localvars_after_alloca): Fix gdb_test cmds for "print * after runto ...". Remove rs6000-*-* xfails for "print i after runto localvars_after_alloca" and "print l after runto localvars_after_alloca" for all compilers. * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5), when not compiled with gcc, for: "print signed char == (minus)", "print signed char != (minus)", "print signed char < (minus)", "print signed char > (minus)". * gdb.base/callfuncs.exp (do_function_calls): Add mips-sgi-irix* xfail, when compiled with native compiler, for "call inferior func with struct - returns char *". * gdb.base/return.exp (return_tests): Change xfail for "correct value returned double test" to include Solaris 2.4. * gdb.base/funcargs.exp (float_and_integral_args): Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
Diffstat (limited to 'gdb/testsuite/gdb.base/nodebug.exp')
-rw-r--r--gdb/testsuite/gdb.base/nodebug.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/nodebug.exp b/gdb/testsuite/gdb.base/nodebug.exp
index 551156c..98b4c9f 100644
--- a/gdb/testsuite/gdb.base/nodebug.exp
+++ b/gdb/testsuite/gdb.base/nodebug.exp
@@ -15,6 +15,7 @@ if ![file exists $binfile] then {
} else {
gdb_reinitialize_dir $srcdir/$subdir
gdb_load $binfile
+ source gdb.base/nodebug.ci
if [runto inner] then {
@@ -38,14 +39,18 @@ if ![file exists $binfile] then {
# Irix5, even though it is ELF, counts as "ecoff" because it
# encapsulates ecoff debugging info in a .mdebug section.
+ if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix5*" }
gdb_test "p top" \
"{(<(text variable|function), no debug info>|short \\(\\))} \[0-9a-fx]* <top>"
+ if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix5*" }
gdb_test "whatis top" \
"(<(text variable|function), no debug info>|short \\(\\))"
gdb_test "ptype top" "(short|int) \\((|<non-float parameter>|<non-float parameter>, <non-float parameter>)\\)"
+ if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix5*" }
gdb_test "p middle" \
"{(<(text variable|function), no debug info>|short \\(\\))} \[0-9a-fx]* <middle>"
+ if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix5*" }
gdb_test "whatis middle" \
"(<(text variable|function), no debug info>|short \\(\\))"
gdb_test "ptype middle" "(short|int) \\((|<non-float parameter>|<non-float parameter>, <non-float parameter>)\\)"