This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/testsuite] Obsolete a29k references in testsuite
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 06 Jan 2002 09:40:56 -0500
- Subject: [patch/testsuite] Obsolete a29k references in testsuite
Hello,
The attached ``fixes''all references to the a29k in the testsuite. For
each reference it either:
o removed the mention of a29k in the comment
o commented out the xfail
o replaced the a29k test with
the more correct cannot_call_functions
test
I've checked it in as obvious. The a29k was declared obsolete a few
months ago.
enjoy,
Andrew
2002-01-06 Andrew Cagney <ac131313@redhat.com>
* 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.
Index: gdb.base/call-ar-st.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/call-ar-st.exp,v
retrieving revision 1.10
diff -p -r1.10 call-ar-st.exp
*** call-ar-st.exp 2001/10/29 18:20:22 1.10
--- call-ar-st.exp 2002/01/06 14:25:41
*************** if [get_compiler_info ${binfile}] {
*** 49,55 ****
return -1;
}
! # The a29k can't call functions, so don't even bother with this test.
if [target_info exists gdb,cannot_call_functions] {
setup_xfail "*-*-*" 2416
fail "This target can not call functions"
--- 49,56 ----
return -1;
}
! # Some targets can't call functions, so don't even bother with this
! # test.
if [target_info exists gdb,cannot_call_functions] {
setup_xfail "*-*-*" 2416
fail "This target can not call functions"
Index: gdb.base/call-rt-st.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/call-rt-st.exp,v
retrieving revision 1.7
diff -p -r1.7 call-rt-st.exp
*** call-rt-st.exp 2001/12/07 21:23:47 1.7
--- call-rt-st.exp 2002/01/06 14:25:41
*************** if [get_compiler_info ${binfile}] {
*** 54,60 ****
return -1;
}
! # The a29k can't call functions, so don't even bother with this test.
if [target_info exists gdb,cannot_call_functions] {
setup_xfail "*-*-*" 2416
fail "This target can not call functions"
--- 54,61 ----
return -1;
}
! # Some targets can't do function calls, so don't even bother with this
! # test.
if [target_info exists gdb,cannot_call_functions] {
setup_xfail "*-*-*" 2416
fail "This target can not call functions"
Index: gdb.base/call-strs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/call-strs.exp,v
retrieving revision 1.4
diff -p -r1.4 call-strs.exp
*** call-strs.exp 2001/03/06 08:21:50 1.4
--- call-strs.exp 2002/01/06 14:25:41
*************** if { [gdb_compile "${srcdir}/${subdir}/
*** 48,54 ****
! # The a29k can't call functions, so don't even bother with this test.
if [target_info exists gdb,cannot_call_functions] {
setup_xfail "*-*-*" 2416
fail "This target can not call functions"
--- 48,55 ----
! # Some targets can't call functions, so don't even bother with this
! # test.
if [target_info exists gdb,cannot_call_functions] {
setup_xfail "*-*-*" 2416
fail "This target can not call functions"
Index: gdb.base/callfuncs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/callfuncs.exp,v
retrieving revision 1.8
diff -p -r1.8 callfuncs.exp
*** callfuncs.exp 2001/12/19 06:29:45 1.8
--- callfuncs.exp 2002/01/06 14:25:41
*************** if {$hp_aCC_compiler} {
*** 49,55 ****
set prototypes 0
}
! # The a29k can't call functions, so don't even bother with this test.
if [target_info exists gdb,cannot_call_functions] {
setup_xfail "*-*-*" 2416
fail "This target can not call functions"
--- 49,56 ----
set prototypes 0
}
! # Some targets can't do function calls, so don't even bother with this
! # test.
if [target_info exists gdb,cannot_call_functions] {
setup_xfail "*-*-*" 2416
fail "This target can not call functions"
Index: gdb.base/callfwmall.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/callfwmall.exp,v
retrieving revision 1.2
diff -p -r1.2 callfwmall.exp
*** callfwmall.exp 2001/03/06 08:21:50 1.2
--- callfwmall.exp 2002/01/06 14:25:41
*************** if {$hp_aCC_compiler} {
*** 53,59 ****
}
! # The a29k can't call functions, so don't even bother with this test.
if [target_info exists gdb,cannot_call_functions] {
setup_xfail "*-*-*" 2416
fail "This target can not call functions"
--- 53,60 ----
}
! # Some targets can't call functions, so don't even bother with this
! # test.
if [target_info exists gdb,cannot_call_functions] {
setup_xfail "*-*-*" 2416
fail "This target can not call functions"
Index: gdb.base/default.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/default.exp,v
retrieving revision 1.4
diff -p -r1.4 default.exp
*** default.exp 2001/12/21 16:40:07 1.4
--- default.exp 2002/01/06 14:25:41
*************** gdb_expect {
*** 53,63 ****
timeout { fail "(timeout) attach" }
}
! # FIXME: attach kills the udi connection
! if { [istarget "a29k-*-udi"] } {
! gdb_exit
! gdb_start
! }
if ![target_info exists use_gdb_stub] {
gdb_test "break" "No default breakpoint address now." "break"
--- 53,63 ----
timeout { fail "(timeout) attach" }
}
! # 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"
*************** if ![target_info exists use_gdb_stub] {
*** 66,72 ****
}
! setup_xfail "mips-idt-*" "a29k-*-udi"
gdb_test "backtrace" "No stack."
# ba and bac are no longer unique command prefixes. So these tests
--- 66,73 ----
}
! 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
*************** if ![target_info exists use_gdb_stub] {
*** 74,80 ****
# GDB needs to be fixed to map unique alias here for ba bac.
#
foreach i "bt ba bac" {
! setup_xfail "mips-idt-*" "a29k-*-udi"
gdb_test $i "No stack." "backtrace \"$i\" abbreviation"
}
} else {
--- 75,82 ----
# GDB needs to be fixed to map unique alias here for ba bac.
#
foreach i "bt ba bac" {
! setup_xfail "mips-idt-*"
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test $i "No stack." "backtrace \"$i\" abbreviation"
}
} else {
*************** if ![target_info exists use_gdb_stub] {
*** 83,99 ****
# This works on the MIPS IDT board, but confuses future tests.
if ![istarget "mips-idt-*"] then {
! setup_xfail "a29k-*-udi"
gdb_test "continue" "The program is not being run." "continue"
! 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
! }
#test call
gdb_test "call" "The history is empty..*" "call"
--- 85,101 ----
# This works on the MIPS IDT board, but confuses future tests.
if ![istarget "mips-idt-*"] then {
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "continue" "The program is not being run." "continue"
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "c" "The program is not being run." "continue \"c\" abbreviation"
}
! # 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"
*************** gdb_expect {
*** 142,152 ****
#test detach
gdb_test "detach" "" "detach"
! # FIXME: continue kills the udi connection
! if [istarget "a29k-*-udi"] then {
! gdb_exit
! gdb_start
! }
if [istarget "h8300-*-hms"] then {
gdb_exit
gdb_start
--- 144,154 ----
#test detach
gdb_test "detach" "" "detach"
! # 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
*************** gdb_expect {
*** 224,236 ****
}
#test frame "f" abbreviation
! setup_xfail "a29k-*-udi"
gdb_test "f" "No stack." "frame \"f\" abbreviation"
#test frame
! setup_xfail "a29k-*-udi"
gdb_test "frame" "No stack." "frame"
#test fg
! setup_xfail "a29k-*-udi"
gdb_test "fg" "The program is not being run." "fg"
# FIXME: fg kills the udi connection
#test file
--- 226,238 ----
}
#test frame "f" abbreviation
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "f" "No stack." "frame \"f\" abbreviation"
#test frame
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "frame" "No stack." "frame"
#test fg
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "fg" "The program is not being run." "fg"
# FIXME: fg kills the udi connection
#test file
*************** gdb_expect {
*** 251,257 ****
}
#test finish
! 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
--- 253,259 ----
}
#test finish
! # 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
*************** gdb_test "ignore" "Argument required .a
*** 272,278 ****
#test info address
gdb_test "info address" "Argument required." "info address"
#test info all-registers
! 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"
--- 274,280 ----
#test info address
gdb_test "info address" "Argument required." "info address"
#test info all-registers
! # 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"
*************** gdb_test "info functions" "All defined f
*** 315,330 ****
#test info locals
gdb_test "info locals" "No frame selected." "info locals"
#test info program
! 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"
gdb_test "info registers" "The program has no registers now." "info registers"
#test info stack "s" abbreviation
! setup_xfail "a29k-*-udi"
gdb_test "info s" "No stack." "info stack \"s\" abbreviation"
#test info stack
! setup_xfail "a29k-*-udi"
gdb_test "info stack" "No stack." "info stack"
#test info set
# FIXME -- needs to match the entire output
--- 317,332 ----
#test info locals
gdb_test "info locals" "No frame selected." "info locals"
#test info program
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "info program" "The program being debugged is not being run." "info program"
#test info registers
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "info registers" "The program has no registers now." "info registers"
#test info stack "s" abbreviation
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "info s" "No stack." "info stack \"s\" abbreviation"
#test info stack
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "info stack" "No stack." "info stack"
#test info set
# FIXME -- needs to match the entire output
*************** gdb_test "info watchpoints" "No breakpoi
*** 351,357 ****
#test inspect
gdb_test "inspect" "The history is empty." "inspect"
#test jump
! 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"
--- 353,359 ----
#test inspect
gdb_test "inspect" "The history is empty." "inspect"
#test jump
! # 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"
*************** gdb_test "list" "No symbol table is load
*** 365,380 ****
# 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"
gdb_test "n" "The program is not being run." "next \"n\" abbreviation"
#test next
! setup_xfail "a29k-*-udi"
gdb_test "next" "The program is not being run." "next"
#test nexti "ni" abbreviation
! setup_xfail "a29k-*-udi"
gdb_test "ni" "The program is not being run." "nexti \"ni\" abbreviation"
#test nexti
! 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"
--- 367,382 ----
# 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
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "n" "The program is not being run." "next \"n\" abbreviation"
#test next
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "next" "The program is not being run." "next"
#test nexti "ni" abbreviation
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "ni" "The program is not being run." "nexti \"ni\" abbreviation"
#test nexti
! # 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"
*************** No program loaded.*$gdb_prompt $"\
*** 469,486 ****
gdb_test "rbreak" "" "rbreak"
#test return
! # The middle case accommodates the 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"
gdb_test "s" "The program is not being run." "step \"s\" abbreviation #1"
#test step
! 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"
--- 471,488 ----
gdb_test "rbreak" "" "rbreak"
#test return
! # 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
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "s" "The program is not being run." "step \"s\" abbreviation #1"
#test step
! # 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"
*************** gdb_test "show write" "Writing into exec
*** 665,685 ****
#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"
gdb_test "si" "The program is not being run." "stepi \"si\" abbreviation"
#test stepi
! setup_xfail "a29k-*-udi"
gdb_test "stepi" "The program is not being run." "stepi"
#test signal
! 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"
gdb_test "s" "The program is not being run." "step \"s\" abbreviation #2"
#test step
! setup_xfail "a29k-*-udi"
gdb_test "step" "The program is not being run." "step #2"
#test symbol-file
gdb_test "symbol-file" "" "symbol-file"
--- 667,687 ----
#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
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "si" "The program is not being run." "stepi \"si\" abbreviation"
#test stepi
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "stepi" "The program is not being run." "stepi"
#test signal
! # 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
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "s" "The program is not being run." "step \"s\" abbreviation #2"
#test step
! # 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"
*************** gdb_test "tbreak" "No default breakpoint
*** 750,759 ****
#test tty
gdb_test "tty" "Argument required .terminal name for running target process.*" "tty"
#test until "u" abbreviation
! setup_xfail "a29k-*-udi"
gdb_test "u" "The program is not running." "until \"u\" abbreviation"
#test until
! setup_xfail "a29k-*-udi"
gdb_test "until" "The program is not running." "until"
#test undisplay
# FIXME -- need to dump full output to detailed log
--- 752,761 ----
#test tty
gdb_test "tty" "Argument required .terminal name for running target process.*" "tty"
#test until "u" abbreviation
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "u" "The program is not running." "until \"u\" abbreviation"
#test until
! # 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
*************** gdb_test "watch" "Argument required .exp
*** 796,802 ****
#test whatis
gdb_test "whatis" "The history is empty." "whatis"
#test where
! setup_xfail "a29k-*-udi"
gdb_test "where" "No stack." "where"
#test x
#The case in which it prints a number is for vxgdb.
--- 798,804 ----
#test whatis
gdb_test "whatis" "The history is empty." "whatis"
#test where
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "where" "No stack." "where"
#test x
#The case in which it prints a number is for vxgdb.
Index: gdb.base/funcargs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/funcargs.exp,v
retrieving revision 1.3
diff -p -r1.3 funcargs.exp
*** funcargs.exp 2001/03/06 08:21:50 1.3
--- funcargs.exp 2002/01/06 14:25:42
*************** proc integral_args {} {
*** 58,66 ****
gdb_breakpoint call0e
# Run; should stop at call0a and print actual arguments.
! # The a29k fails all of these tests, perhaps because the prologue
! # code is broken.
! setup_xfail "a29k-*-udi"
if {!$gcc_compiled} then { setup_xfail "rs6000-*-*" }
gdb_run_cmd
gdb_expect {
--- 58,66 ----
gdb_breakpoint call0e
# Run; should stop at call0a and print actual arguments.
! # OBSOLETE # The a29k fails all of these tests, perhaps because the prologue
! # OBSOLETE # code is broken.
! # OBSOLETE setup_xfail "a29k-*-udi"
if {!$gcc_compiled} then { setup_xfail "rs6000-*-*" }
gdb_run_cmd
gdb_expect {
*************** proc unsigned_integral_args {} {
*** 118,126 ****
gdb_breakpoint call1e;
# Run; should stop at call1a and print actual arguments.
! # The a29k fails all of these tests, perhaps because the prologue
! # code is broken.
! setup_xfail "a29k-*-udi"
if {!$gcc_compiled} then { setup_xfail "rs6000-*-*" }
gdb_run_cmd
gdb_expect {
--- 118,126 ----
gdb_breakpoint call1e;
# Run; should stop at call1a and print actual arguments.
! # OBSOLETE # The a29k fails all of these tests, perhaps because the prologue
! # OBSOLETE # code is broken.
! # OBSOLETE setup_xfail "a29k-*-udi"
if {!$gcc_compiled} then { setup_xfail "rs6000-*-*" }
gdb_run_cmd
gdb_expect {
*************** proc float_and_integral_args {} {
*** 184,192 ****
# Run; should stop at call2a and print actual arguments.
setup_xfail "i960-*-*" 1813
! # The a29k fails all of these tests, perhaps because the prologue
! # code is broken.
! setup_xfail "a29k-*-udi"
if {!$gcc_compiled} then { setup_xfail "rs6000-*-*" "mips-sgi-irix5*" }
# The debug info. for "f" is not correct. It's a known bug.
if {$hp_cc_compiler} {setup_xfail hppa2.0w-*-*}
--- 184,192 ----
# Run; should stop at call2a and print actual arguments.
setup_xfail "i960-*-*" 1813
! # OBSOLETE # The a29k fails all of these tests, perhaps because the prologue
! # OBSOLETE # code is broken.
! # OBSOLETE setup_xfail "a29k-*-udi"
if {!$gcc_compiled} then { setup_xfail "rs6000-*-*" "mips-sgi-irix5*" }
# The debug info. for "f" is not correct. It's a known bug.
if {$hp_cc_compiler} {setup_xfail hppa2.0w-*-*}
*************** proc pointer_args {} {
*** 285,293 ****
# Run; should stop at call3a and print actual arguments.
# Try dereferencing the arguments.
! # The a29k fails all of these tests, perhaps because the prologue
! # code is broken.
! setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
-re ".* call3a \\(cp=$hex \"a.*\", sp=$hex, ip=$hex, lp=$hex\\) .*$gdb_prompt $" { pass "run to call3a" }
--- 285,293 ----
# Run; should stop at call3a and print actual arguments.
# Try dereferencing the arguments.
! # OBSOLETE # The a29k fails all of these tests, perhaps because the prologue
! # OBSOLETE # code is broken.
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
-re ".* call3a \\(cp=$hex \"a.*\", sp=$hex, ip=$hex, lp=$hex\\) .*$gdb_prompt $" { pass "run to call3a" }
*************** proc structs_by_reference {} {
*** 344,352 ****
# Run; should stop at call4a and print actual arguments.
# Try dereferencing the arguments.
! # The a29k fails all of these tests, perhaps because the prologue
! # code is broken.
! setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
-re ".* call4a \\(stp=$hex\\) .*$gdb_prompt $" {
--- 344,352 ----
# Run; should stop at call4a and print actual arguments.
# Try dereferencing the arguments.
! # OBSOLETE # The a29k fails all of these tests, perhaps because the prologue
! # OBSOLETE # code is broken.
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
-re ".* call4a \\(stp=$hex\\) .*$gdb_prompt $" {
*************** proc structs_by_value {} {
*** 403,411 ****
# Run; should stop at call5a and print actual arguments.
# Try dereferencing the arguments.
! # The a29k fails all of these tests, perhaps because the prologue
! # code is broken.
! setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
-re ".* call5a \\(st=\{s1 = 101, s2 = 102\}\\) .*$gdb_prompt $" {
--- 403,411 ----
# Run; should stop at call5a and print actual arguments.
# Try dereferencing the arguments.
! # OBSOLETE # The a29k fails all of these tests, perhaps because the prologue
! # OBSOLETE # code is broken.
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
-re ".* call5a \\(st=\{s1 = 101, s2 = 102\}\\) .*$gdb_prompt $" {
*************** proc discard_and_shuffle {} {
*** 480,488 ****
# Run; should stop at call6a and print actual arguments.
# Print backtrace.
! # The a29k fails all of these tests, perhaps because the prologue
! # code is broken.
! setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
-re ".*Breakpoint $decimal, call6a .*$gdb_prompt $" { pass "run to call6a" }
--- 480,488 ----
# Run; should stop at call6a and print actual arguments.
# Print backtrace.
! # OBSOLETE # The a29k fails all of these tests, perhaps because the prologue
! # OBSOLETE # code is broken.
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
-re ".*Breakpoint $decimal, call6a .*$gdb_prompt $" { pass "run to call6a" }
*************** proc shuffle_round_robin {} {
*** 754,762 ****
# Run; should stop at call7a and print actual arguments.
# Print backtrace.
! # The a29k fails all of these tests, perhaps because the prologue
! # code is broken.
! setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
-re ".*Breakpoint $decimal, call7a .*$gdb_prompt $" {
--- 754,762 ----
# Run; should stop at call7a and print actual arguments.
# Print backtrace.
! # OBSOLETE # The a29k fails all of these tests, perhaps because the prologue
! # OBSOLETE # code is broken.
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
-re ".*Breakpoint $decimal, call7a .*$gdb_prompt $" {
*************** proc recursive_structs_by_value {} {
*** 983,991 ****
}
if ![istarget sparclet-*-*] {
! # The a29k fails all of these tests, perhaps because the prologue
! # code is broken.
! setup_xfail "a29k-*-udi"
send_gdb "backtrace 100\n"
gdb_expect_list "recursive passing of structs by value" ".*$gdb_prompt $" {
".*\[\r\n\]#0 .* hitbottom \\(\\) "
--- 983,991 ----
}
if ![istarget sparclet-*-*] {
! # OBSOLETE # The a29k fails all of these tests, perhaps because the prologue
! # OBSOLETE # code is broken.
! # OBSOLETE setup_xfail "a29k-*-udi"
send_gdb "backtrace 100\n"
gdb_expect_list "recursive passing of structs by value" ".*$gdb_prompt $" {
".*\[\r\n\]#0 .* hitbottom \\(\\) "
Index: gdb.base/list.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/list.exp,v
retrieving revision 1.2
diff -p -r1.2 list.exp
*** list.exp 2001/03/06 08:21:50 1.2
--- list.exp 2002/01/06 14:25:42
*************** proc test_listsize {} {
*** 162,173 ****
proc test_list_include_file {} {
global gdb_prompt
! setup_xfail "a29k-*-udi"
setup_xfail_format "DWARF 1"
setup_xfail_format "COFF"
gdb_test "list list0.h:1" "1\[ \t\]+/\[*\]+ An include file .*10\[ \t\]+bar \\(x\\+\\+\\);" "list line 1 in include file"
! setup_xfail "a29k-*-udi"
setup_xfail_format "DWARF 1"
setup_xfail_format "COFF"
gdb_test "list list0.h:100" "Line number 95 out of range; .*list0.h has 3\[67\] lines." "list message for lines past EOF"
--- 162,173 ----
proc test_list_include_file {} {
global gdb_prompt
! # OBSOLETE setup_xfail "a29k-*-udi"
setup_xfail_format "DWARF 1"
setup_xfail_format "COFF"
gdb_test "list list0.h:1" "1\[ \t\]+/\[*\]+ An include file .*10\[ \t\]+bar \\(x\\+\\+\\);" "list line 1 in include file"
! # OBSOLETE setup_xfail "a29k-*-udi"
setup_xfail_format "DWARF 1"
setup_xfail_format "COFF"
gdb_test "list list0.h:100" "Line number 95 out of range; .*list0.h has 3\[67\] lines." "list message for lines past EOF"
*************** proc test_list_function {} {
*** 229,235 ****
# gcc appears to generate incorrect debugging information for code
# in include files, which breaks this test.
# SunPRO cc is the second case below, it's also correct.
! setup_xfail "a29k-*-udi"
gdb_test "list main" "(5\[ \t\]+int x;.*14\[ \t\]+foo \[(\]+.*\[)\]+;|1\[ \t\]+#include .*10\[ \t\]+x = 0;)" "list function in source file 1"
# Ultrix gdb takes the second case below; it's also correct.
--- 229,235 ----
# gcc appears to generate incorrect debugging information for code
# in include files, which breaks this test.
# SunPRO cc is the second case below, it's also correct.
! # OBSOLETE setup_xfail "a29k-*-udi"
gdb_test "list main" "(5\[ \t\]+int x;.*14\[ \t\]+foo \[(\]+.*\[)\]+;|1\[ \t\]+#include .*10\[ \t\]+x = 0;)" "list function in source file 1"
# Ultrix gdb takes the second case below; it's also correct.
*************** proc test_list_filename_and_function {}
*** 394,400 ****
# gcc appears to generate incorrect debugging information for code
# in include files, which breaks this test.
# SunPRO cc is the second case below, it's also correct.
! setup_xfail "a29k-*-udi"
send_gdb "list list0.c:main\n"
gdb_expect {
-re "1\[ \t\]+#include .*10\[ \t\]+x = 0;\r\n$gdb_prompt $" {
--- 394,400 ----
# gcc appears to generate incorrect debugging information for code
# in include files, which breaks this test.
# SunPRO cc is the second case below, it's also correct.
! # OBSOLETE setup_xfail "a29k-*-udi"
send_gdb "list list0.c:main\n"
gdb_expect {
-re "1\[ \t\]+#include .*10\[ \t\]+x = 0;\r\n$gdb_prompt $" {
*************** proc test_list_filename_and_function {}
*** 407,413 ****
timeout { fail "list list0.c:main (timeout)" }
}
! # The i960 and a29k-amd-udi are the second case
# Not sure what the point of having this function be unused is.
# AIX is legitimately removing it.
--- 407,414 ----
timeout { fail "list list0.c:main (timeout)" }
}
! # The i960 is a second case
! # OBSOLETE # The a29k-amd-udi is a second case
# Not sure what the point of having this function be unused is.
# AIX is legitimately removing it.
*************** proc test_list_filename_and_function {}
*** 431,437 ****
# SunPRO cc is the third case.
setup_xfail "rs6000-*-*" 1804
setup_xfail "powerpc-*-*" 1804
! setup_xfail "a29k-*-udi"
setup_xfail_format "DWARF 1"
setup_xfail_format "COFF"
send_gdb "list list0.h:foo\n"
--- 432,438 ----
# SunPRO cc is the third case.
setup_xfail "rs6000-*-*" 1804
setup_xfail "powerpc-*-*" 1804
! # OBSOLETE setup_xfail "a29k-*-udi"
setup_xfail_format "DWARF 1"
setup_xfail_format "COFF"
send_gdb "list list0.h:foo\n"
*************** proc test_list_filename_and_function {}
*** 453,459 ****
}
# Ultrix gdb is the second case.
! # a29k-amd-udi is the third case.
send_gdb "list list1.c:bar\n"
gdb_expect {
-re "4\[ \t\]+void.*13\[ \t\]+\}\r\n$gdb_prompt $" {
--- 454,460 ----
}
# Ultrix gdb is the second case.
! # OBSOLETE # a29k-amd-udi is the third case.
send_gdb "list list1.c:bar\n"
gdb_expect {
-re "4\[ \t\]+void.*13\[ \t\]+\}\r\n$gdb_prompt $" {
*************** proc test_list_filename_and_function {}
*** 469,475 ****
timeout { fail "list list1.c:bar (timeout)" }
}
! # The i960 and a29k-amd-udi are the second case
# Not sure what the point of having this function be unused is.
# AIX is legitimately removing it.
--- 470,477 ----
timeout { fail "list list1.c:bar (timeout)" }
}
! # The i960 is a second case
! # OBSOLETE # The a29k-amd-udi is a second case
# Not sure what the point of having this function be unused is.
# AIX is legitimately removing it.
Index: gdb.base/opaque.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/opaque.exp,v
retrieving revision 1.2
diff -p -r1.2 opaque.exp
*** opaque.exp 2001/03/06 08:21:50 1.2
--- opaque.exp 2002/01/06 14:25:42
*************** gdb_load ${binfile}
*** 84,90 ****
proc setup_xfail_on_opaque_pointer {} {
global gcc_compiled
! setup_xfail "a29k-*-udi" "vax-*-*" "i*86-sequent-bsd*"
if {!$gcc_compiled} then {
setup_xfail "alpha-*-*" "mips-sgi-irix5*"
}
--- 84,91 ----
proc setup_xfail_on_opaque_pointer {} {
global gcc_compiled
! setup_xfail "vax-*-*" "i*86-sequent-bsd*"
! # OBSOLETE setup_xfail "a29k-*-udi"
if {!$gcc_compiled} then {
setup_xfail "alpha-*-*" "mips-sgi-irix5*"
}
Index: gdb.base/printcmds.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/printcmds.exp,v
retrieving revision 1.5
diff -p -r1.5 printcmds.exp
*** printcmds.exp 2001/12/19 06:29:45 1.5
--- printcmds.exp 2002/01/06 14:25:43
*************** proc test_print_string_constants {} {
*** 619,643 ****
# (Test may involve inferior malloc() calls).
set timeout 60;
! setup_xfail "a29k-*-udi" 2416
gdb_test "p \"a string\"" " = \"a string\""
! setup_xfail "a29k-*-udi" 2416
gdb_test "p \"embedded \\000 null\"" " = \"embedded \\\\0 null\""
! setup_xfail "a29k-*-udi" 2416
gdb_test "p \"abcd\"\[2\]" " = 99 'c'"
! setup_xfail "a29k-*-udi" 2416
gdb_test "p sizeof (\"abcdef\")" " = 7"
! setup_xfail "a29k-*-udi" 2416
gdb_test "ptype \"foo\"" " = char \\\[4\\\]"
! setup_xfail "a29k-*-udi" 2416
gdb_test "p *\"foo\"" " = 102 'f'"
! setup_xfail "a29k-*-udi" 2416
gdb_test "ptype *\"foo\"" " = char"
! setup_xfail "a29k-*-udi" 2416
gdb_test "p &*\"foo\"" " = \"foo\""
setup_xfail "*-*-*"
gdb_test "ptype &*\"foo\"" "type = char \\*"
! setup_xfail "a29k-*-udi" 2416
gdb_test "p (char *)\"foo\"" " = \"foo\""
}
--- 619,643 ----
# (Test may involve inferior malloc() calls).
set timeout 60;
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p \"a string\"" " = \"a string\""
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p \"embedded \\000 null\"" " = \"embedded \\\\0 null\""
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p \"abcd\"\[2\]" " = 99 'c'"
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p sizeof (\"abcdef\")" " = 7"
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "ptype \"foo\"" " = char \\\[4\\\]"
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p *\"foo\"" " = 102 'f'"
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "ptype *\"foo\"" " = char"
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p &*\"foo\"" " = \"foo\""
setup_xfail "*-*-*"
gdb_test "ptype &*\"foo\"" "type = char \\*"
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p (char *)\"foo\"" " = \"foo\""
}
*************** proc test_print_array_constants {} {
*** 653,669 ****
# (Test may involve inferior malloc() calls).
set timeout 60;
! setup_xfail "a29k-*-udi" 2416
gdb_test "print {'a','b','c'}" " = \"abc\""
! setup_xfail "a29k-*-udi" 2416
gdb_test_escape_braces "print {0,1,2}" " = {0, 1, 2}"
! setup_xfail "a29k-*-udi" 2416
gdb_test_escape_braces "print {(long)0,(long)1,(long)2}" " = {0, 1, 2}"
! setup_xfail "a29k-*-udi" 2416
gdb_test_escape_braces "print {{0,1,2},{3,4,5}}" " = {{0, 1, 2}, {3, 4, 5}}"
! setup_xfail "a29k-*-udi" 2416
gdb_test "print {4,5,6}\[2\]" " = 6"
! setup_xfail "a29k-*-udi" 2416
gdb_test "print *&{4,5,6}\[1\]" " = 5"
}
--- 653,669 ----
# (Test may involve inferior malloc() calls).
set timeout 60;
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "print {'a','b','c'}" " = \"abc\""
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test_escape_braces "print {0,1,2}" " = {0, 1, 2}"
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test_escape_braces "print {(long)0,(long)1,(long)2}" " = {0, 1, 2}"
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test_escape_braces "print {{0,1,2},{3,4,5}}" " = {{0, 1, 2}, {3, 4, 5}}"
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "print {4,5,6}\[2\]" " = 6"
! # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "print *&{4,5,6}\[1\]" " = 5"
}
Index: gdb.base/ptype.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ptype.exp,v
retrieving revision 1.2
diff -p -r1.2 ptype.exp
*** ptype.exp 2001/03/06 08:21:51 1.2
--- ptype.exp 2002/01/06 14:25:43
*************** gdb_test "ptype red" "type = enum \{red,
*** 173,179 ****
# test both whatis and ptype for all the types, the tests should be
# merged into whatis.exp, or else maintenance will be a royal pain -kingdon
#setup_xfail "i960-*-*" 1821
! #setup_xfail "mips-idt-*" "mips-sgi-*" "a29k-*-*"
#send "ptype v_char\n"
#gdb_expect {
# -re "type = char.*$gdb_prompt $" { pass "ptype char" }
--- 173,180 ----
# test both whatis and ptype for all the types, the tests should be
# merged into whatis.exp, or else maintenance will be a royal pain -kingdon
#setup_xfail "i960-*-*" 1821
! #setup_xfail "mips-idt-*" "mips-sgi-*"
! # OBSOLETE #setup_xfail "a29k-*-*"
#send "ptype v_char\n"
#gdb_expect {
# -re "type = char.*$gdb_prompt $" { pass "ptype char" }
*************** gdb_test "ptype red" "type = enum \{red,
*** 182,188 ****
#}
#
#
! #setup_xfail "mips-*-*" "a29k-*-*"
#send "ptype v_signed_char\n"
#gdb_expect {
# -re "type = signed char.*$gdb_prompt $" { pass "ptype signed char" }
--- 183,190 ----
#}
#
#
! #setup_xfail "mips-*-*"
! # OBSOLETE #setup_xfail "a29k-*-*"
#send "ptype v_signed_char\n"
#gdb_expect {
# -re "type = signed char.*$gdb_prompt $" { pass "ptype signed char" }
*************** gdb_test "ptype v_int" "type = int.*" "p
*** 278,284 ****
# test ptype command with arrays
#
#setup_xfail "i960-*-*" 1821
! #setup_xfail "mips-idt-*" "mips-sgi-*" "a29k-*-*"
#send "ptype v_char_array\n"
#gdb_expect {
# -re "type = char .2..*$gdb_prompt $" { pass "ptype char array" }
--- 280,287 ----
# test ptype command with arrays
#
#setup_xfail "i960-*-*" 1821
! #setup_xfail "mips-idt-*" "mips-sgi-*"
! # OBSOLETE #setup_xfail "a29k-*-*"
#send "ptype v_char_array\n"
#gdb_expect {
# -re "type = char .2..*$gdb_prompt $" { pass "ptype char array" }
*************** gdb_test "ptype v_int" "type = int.*" "p
*** 287,293 ****
#}
#
#
! #setup_xfail "mips-*-*" "a29k-*-*"
#send "ptype v_signed_char_array\n"
#gdb_expect {
# -re "type = (|signed )char .2..*$gdb_prompt $" { pass "ptype signed char array" }
--- 290,297 ----
#}
#
#
! #setup_xfail "mips-*-*"
! # OBSOLETE #setup_xfail "a29k-*-*"
#send "ptype v_signed_char_array\n"
#gdb_expect {
# -re "type = (|signed )char .2..*$gdb_prompt $" { pass "ptype signed char array" }
*************** gdb_test "ptype t_char_array" "type = (|
*** 381,387 ****
## test ptype command with pointers
##
#setup_xfail "i960-*-*" 1821
! #setup_xfail "mips-idt-*" "mips-sgi-*" "a29k-*-*"
#send "ptype v_char_pointer\n"
#gdb_expect {
# -re "type = char \*.*$gdb_prompt $" { pass "ptype char pointer" }
--- 385,392 ----
## test ptype command with pointers
##
#setup_xfail "i960-*-*" 1821
! #setup_xfail "mips-idt-*" "mips-sgi-*"
! # OBSOLETE #setup_xfail "a29k-*-*"
#send "ptype v_char_pointer\n"
#gdb_expect {
# -re "type = char \*.*$gdb_prompt $" { pass "ptype char pointer" }
*************** gdb_test "ptype t_char_array" "type = (|
*** 390,396 ****
#}
#
#
! #setup_xfail "mips-*-*" "a29k-*-*"
#send "ptype v_signed_char_pointer\n"
#gdb_expect {
# -re "type = (|signed )char \*.*$gdb_prompt $"
--- 395,402 ----
#}
#
#
! #setup_xfail "mips-*-*"
! # OBSOLETE #setup_xfail "a29k-*-*"
#send "ptype v_signed_char_pointer\n"
#gdb_expect {
# -re "type = (|signed )char \*.*$gdb_prompt $"
Index: gdb.base/scope.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/scope.exp,v
retrieving revision 1.3
diff -p -r1.3 scope.exp
*** scope.exp 2001/03/06 08:21:51 1.3
--- scope.exp 2002/01/06 14:25:43
*************** proc test_at_localscopes {} {
*** 515,521 ****
# This test will only fail if the file was compiled by gcc, but
# there's no way to check that.
! setup_xfail "a29k-*-udi" 2423
if [gdb_test "cont" "Break.* marker4.*at .*:$decimal.*" \
"continue to marker4 in scope.exp"] then { gdb_suppress_tests }
if [gdb_test "up" ".*localscopes.*" "up from marker4 in scope.exp"] {
--- 515,521 ----
# This test will only fail if the file was compiled by gcc, but
# there's no way to check that.
! # OBSOLETE setup_xfail "a29k-*-udi" 2423
if [gdb_test "cont" "Break.* marker4.*at .*:$decimal.*" \
"continue to marker4 in scope.exp"] then { gdb_suppress_tests }
if [gdb_test "up" ".*localscopes.*" "up from marker4 in scope.exp"] {
Index: gdb.base/structs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/structs.exp,v
retrieving revision 1.3
diff -p -r1.3 structs.exp
*** structs.exp 2001/12/07 21:21:34 1.3
--- structs.exp 2002/01/06 14:25:43
*************** if [get_compiler_info ${binfile}] {
*** 47,56 ****
return -1;
}
! # The a29k can't call functions, so don't even bother with this test.
! if [istarget "a29k-*-udi"] then {
! setup_xfail "a29k-*-udi" 2416
! fail "a29k-*-udi can not call functions"
continue
}
--- 47,58 ----
return -1;
}
!
! # Some targets can't call functions, so don't even bother with this
! # test.
! if [target_info exists gdb,cannot_call_functions] {
! setup_xfail "*-*-*" 2416
! fail "This target can not call functions"
continue
}
Index: gdb.base/whatis.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/whatis.exp,v
retrieving revision 1.2
diff -p -r1.2 whatis.exp
*** whatis.exp 2001/03/06 08:21:51 1.2
--- whatis.exp 2002/01/06 14:25:43
*************** if $signed_keyword_not_used then {
*** 85,91 ****
} else {
set signed_char "signed char"
}
! setup_xfail "a29k-*-*"
if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix*" }
gdb_test "whatis v_signed_char" \
"type = $signed_char" \
--- 85,91 ----
} else {
set signed_char "signed char"
}
! # OBSOLETE setup_xfail "a29k-*-*"
if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix*" }
gdb_test "whatis v_signed_char" \
"type = $signed_char" \
Index: gdb.c++/cplusfuncs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/cplusfuncs.exp,v
retrieving revision 1.3
diff -p -r1.3 cplusfuncs.exp
*** cplusfuncs.exp 2001/11/05 23:31:26 1.3
--- cplusfuncs.exp 2002/01/06 14:25:44
*************** proc test_lookup_operator_functions {} {
*** 320,331 ****
global dm_type_void
global dm_type_void_star
! # These tests don't work for COFF targets; don't even try them
! if [istarget "a29k-*-udi"] then {
! setup_xfail "a29k-*-udi"
! fail "skipping operator tests"
! return
! }
# operator* requires quoting so that GDB does not treat it as a regexp.
info_func "operator\\*(" "void foo::operator*($dm_type_foo_ref);"
--- 320,331 ----
global dm_type_void
global dm_type_void_star
! # OBSOLETE # # These tests don't work for COFF targets; don't even try them
! # OBSOLETE # if [istarget "a29k-*-udi"] then {
! # OBSOLETE # setup_xfail "a29k-*-udi"
! # OBSOLETE # fail "skipping operator tests"
! # OBSOLETE # return
! # OBSOLETE # }
# operator* requires quoting so that GDB does not treat it as a regexp.
info_func "operator\\*(" "void foo::operator*($dm_type_foo_ref);"
Index: gdb.c++/misc.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/misc.exp,v
retrieving revision 1.2
diff -p -r1.2 misc.exp
*** misc.exp 2001/03/06 08:21:54 1.2
--- misc.exp 2002/01/06 14:25:44
*************** proc deduce_language_of_main {} {
*** 41,47 ****
# See what language gdb thinks main() is, prior to reading full symbols.
# I think this fails for COFF targets.
! setup_xfail "a29k-*-udi"
send_gdb "show language\n"
gdb_expect {
-re ".* source language is \"auto; currently c\[+\]+\".*$gdb_prompt $" {
--- 41,47 ----
# See what language gdb thinks main() is, prior to reading full symbols.
# I think this fails for COFF targets.
! # OBSOLETE setup_xfail "a29k-*-udi"
send_gdb "show language\n"
gdb_expect {
-re ".* source language is \"auto; currently c\[+\]+\".*$gdb_prompt $" {