aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/default.exp
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-06 14:42:39 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-06 14:42:39 +0000
commit9fbfe2dc646f029caeb2b69f597bfd4acb2954fa (patch)
tree92b8ed0593fd80f5a0c4c38651caa5f6a6d0f2b0 /gdb/testsuite/gdb.base/default.exp
parentd7861ad2a51101a548ed5a8cff4aaa548e0cfaf4 (diff)
downloadgdb-9fbfe2dc646f029caeb2b69f597bfd4acb2954fa.zip
gdb-9fbfe2dc646f029caeb2b69f597bfd4acb2954fa.tar.gz
gdb-9fbfe2dc646f029caeb2b69f597bfd4acb2954fa.tar.bz2
Fix PR gdb/66.
* gdb.base/structs.exp: Replace skip for a29k with skip for gdb,cannot_call_functions. * gdb.base/call-ar-st.exp: Remove references to a29k in comments. * gdb.base/callfuncs.exp: Ditto. * gdb.base/call-rt-st.exp: Ditto. * gdb.base/call-strs.exp: Ditto. * gdb.base/callfwmall.exp: Ditto. * gdb.base/scope.exp: Obsolete xfail a29k. * gdb.c++/misc.exp: Ditto. * gdb.c++/cplusfuncs.exp: Ditto. * gdb.base/ptype.exp: Ditto. * gdb.base/printcmds.exp: Ditto. * gdb.base/opaque.exp: Ditto. * gdb.base/list.exp: Ditto. * gdb.base/funcargs.exp: Ditto. * gdb.base/default.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/default.exp')
-rw-r--r--gdb/testsuite/gdb.base/default.exp92
1 files changed, 47 insertions, 45 deletions
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index 031b3a9..f5956ef 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -53,11 +53,11 @@ gdb_expect {
timeout { fail "(timeout) attach" }
}
-# FIXME: attach kills the udi connection
-if { [istarget "a29k-*-udi"] } {
- gdb_exit
- gdb_start
-}
+# OBSOLETE # FIXME: attach kills the udi connection
+# OBSOLETE if { [istarget "a29k-*-udi"] } {
+# OBSOLETE gdb_exit
+# OBSOLETE gdb_start
+# OBSOLETE }
if ![target_info exists use_gdb_stub] {
gdb_test "break" "No default breakpoint address now." "break"
@@ -66,7 +66,8 @@ if ![target_info exists use_gdb_stub] {
}
- setup_xfail "mips-idt-*" "a29k-*-udi"
+ setup_xfail "mips-idt-*"
+ # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "backtrace" "No stack."
# ba and bac are no longer unique command prefixes. So these tests
@@ -74,7 +75,8 @@ if ![target_info exists use_gdb_stub] {
# GDB needs to be fixed to map unique alias here for ba bac.
#
foreach i "bt ba bac" {
- setup_xfail "mips-idt-*" "a29k-*-udi"
+ setup_xfail "mips-idt-*"
+ # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test $i "No stack." "backtrace \"$i\" abbreviation"
}
} else {
@@ -83,17 +85,17 @@ if ![target_info exists use_gdb_stub] {
# This works on the MIPS IDT board, but confuses future tests.
if ![istarget "mips-idt-*"] then {
- setup_xfail "a29k-*-udi"
+ # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "continue" "The program is not being run." "continue"
- setup_xfail "a29k-*-udi"
+ # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "c" "The program is not being run." "continue \"c\" abbreviation"
}
-# FIXME: continue kills the udi connection
-if [istarget "a29k-*-udi"] then {
- gdb_exit
- gdb_start
-}
+# OBSOLETE # FIXME: continue kills the udi connection
+# OBSOLETE if [istarget "a29k-*-udi"] then {
+# OBSOLETE gdb_exit
+# OBSOLETE gdb_start
+# OBSOLETE }
#test call
gdb_test "call" "The history is empty..*" "call"
@@ -142,11 +144,11 @@ gdb_expect {
#test detach
gdb_test "detach" "" "detach"
-# FIXME: continue kills the udi connection
-if [istarget "a29k-*-udi"] then {
- gdb_exit
- gdb_start
-}
+# OBSOLETE # FIXME: continue kills the udi connection
+# OBSOLETE if [istarget "a29k-*-udi"] then {
+# OBSOLETE gdb_exit
+# OBSOLETE gdb_start
+# OBSOLETE }
if [istarget "h8300-*-hms"] then {
gdb_exit
gdb_start
@@ -224,13 +226,13 @@ gdb_expect {
}
#test frame "f" abbreviation
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "f" "No stack." "frame \"f\" abbreviation"
#test frame
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "frame" "No stack." "frame"
#test fg
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "fg" "The program is not being run." "fg"
# FIXME: fg kills the udi connection
#test file
@@ -251,7 +253,7 @@ gdb_expect {
}
#test finish
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "finish" "The program is not running." "finish"
#test forward-search
# The message here comes from the regexp library, not gdb, and so can
@@ -272,7 +274,7 @@ gdb_test "ignore" "Argument required .a breakpoint number.*" "ignore"
#test info address
gdb_test "info address" "Argument required." "info address"
#test info all-registers
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "info all-registers" "The program has no registers now." "info all-registers"
#test info args
gdb_test "info args" "No frame selected." "info args"
@@ -315,16 +317,16 @@ gdb_test "info functions" "All defined functions:" "info functions"
#test info locals
gdb_test "info locals" "No frame selected." "info locals"
#test info program
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "info program" "The program being debugged is not being run." "info program"
#test info registers
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "info registers" "The program has no registers now." "info registers"
#test info stack "s" abbreviation
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "info s" "No stack." "info stack \"s\" abbreviation"
#test info stack
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "info stack" "No stack." "info stack"
#test info set
# FIXME -- needs to match the entire output
@@ -351,7 +353,7 @@ gdb_test "info watchpoints" "No breakpoints or watchpoints." "info watchpoints"
#test inspect
gdb_test "inspect" "The history is empty." "inspect"
#test jump
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "jump" "The program is not being run." "jump"
#test kill
gdb_test "kill" "The program is not being run." "kill"
@@ -365,16 +367,16 @@ gdb_test "list" "No symbol table is loaded. Use the \"file\" command.*" "list"
# to deduce the filename from the exec file.
gdb_test "load" "You can't do that when your target is `None'.*|The load command takes a file name.*|Must specify at least a file name with the load command.*|.*Use the .file. or .exec-file. command.*" "load"
#test next "n" abbreviation
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "n" "The program is not being run." "next \"n\" abbreviation"
#test next
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "next" "The program is not being run." "next"
#test nexti "ni" abbreviation
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "ni" "The program is not being run." "nexti \"ni\" abbreviation"
#test nexti
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "nexti" "The program is not being run." "nexti"
#test output
gdb_test "output" "Argument required .expression to compute.*" "output"
@@ -469,18 +471,18 @@ No program loaded.*$gdb_prompt $"\
gdb_test "rbreak" "" "rbreak"
#test return
-# The middle case accommodates the a29k, where doing the "ni" above causes
-# an initial stack to be created.
+# The middle case accomodated the OBSOLETE a29k, where doing the "ni"
+# above causes an initial stack to be created.
gdb_test "return" "No selected frame..*" "return" "Make .* return now.*y or n. $" "y"
#test reverse-search
gdb_test "reverse-search" "No previous regular expression.*|There is no previous regular expression.*" "reverse-search"
#test step "s" abbreviation
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "s" "The program is not being run." "step \"s\" abbreviation #1"
#test step
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "step" "The program is not being run." "step #1"
#test search
gdb_test "search" "No previous regular expression.*|There is no previous regular expression.*" "search"
@@ -665,21 +667,21 @@ gdb_test "show write" "Writing into executable and core files is o.*" "show writ
#test show
gdb_test "show" "confirm: *Whether to confirm potentially dangerous operations is on..*\[\r\n\]+history filename: *The filename in which to record the command history is .*\[\r\n\]+history save: *Saving of the history record on exit is on..*\[\r\n\]+history size: *The size of the command history is.*\[\r\n\]+listsize: *Number of source lines gdb will list by default is 10.*\[\r\n\]+print elements: *Limit on string chars or array elements to print is 200..*" "show"
#test stepi "si" abbreviation
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "si" "The program is not being run." "stepi \"si\" abbreviation"
#test stepi
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "stepi" "The program is not being run." "stepi"
#test signal
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "signal" "The program is not being run." "signal"
#test source
gdb_test "source" "source command requires pathname of file to source..*|No such file or directory.*" "source"
#test step "s" abbreviation
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "s" "The program is not being run." "step \"s\" abbreviation #2"
#test step
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "step" "The program is not being run." "step #2"
#test symbol-file
gdb_test "symbol-file" "" "symbol-file"
@@ -750,10 +752,10 @@ gdb_test "tbreak" "No default breakpoint address now." "tbreak"
#test tty
gdb_test "tty" "Argument required .terminal name for running target process.*" "tty"
#test until "u" abbreviation
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "u" "The program is not running." "until \"u\" abbreviation"
#test until
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "until" "The program is not running." "until"
#test undisplay
# FIXME -- need to dump full output to detailed log
@@ -796,7 +798,7 @@ gdb_test "watch" "Argument required .expression to compute.*" "watch"
#test whatis
gdb_test "whatis" "The history is empty." "whatis"
#test where
-setup_xfail "a29k-*-udi"
+# OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "where" "No stack." "where"
#test x
#The case in which it prints a number is for vxgdb.