* gdb.base/watchpoint.exp: Don't run the test_stepping

tests if gdb can't call functions on the target.
This commit is contained in:
Bob Manson 1997-05-22 05:56:31 +00:00
parent 3596a9fcb0
commit ee9a6181ff
2 changed files with 14 additions and 8 deletions

View file

@ -1,5 +1,8 @@
Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com> Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/watchpoint.exp: Don't run the test_stepping
tests if gdb can't call functions on the target.
* gdb.base/setshow.exp: Don't run the set prompt tests if * gdb.base/setshow.exp: Don't run the set prompt tests if
the board has gdb_prompt set. the board has gdb_prompt set.

View file

@ -305,6 +305,7 @@ proc test_stepping {} {
clear_xfail "hppa*-*-*bsd*" clear_xfail "hppa*-*-*bsd*"
# It works with the generic inferior function calling code too. # It works with the generic inferior function calling code too.
clear_xfail "mn10200*-*-*" clear_xfail "mn10200*-*-*"
clear_xfail "mn10300*-*-*"
gdb_test "p func1 ()" "= 73" \ gdb_test "p func1 ()" "= 73" \
"calling function with watchpoint enabled" "calling function with watchpoint enabled"
} }
@ -527,6 +528,7 @@ if [initialize] then {
initialize initialize
} }
if ![target_info exsts gdb,cannot_call_functions] {
test_stepping test_stepping
# See above. # See above.
@ -537,6 +539,7 @@ if [initialize] then {
gdb_load $binfile gdb_load $binfile
initialize initialize
} }
}
# Only enabled for some targets merely because it has not been tested # Only enabled for some targets merely because it has not been tested
# elsewhere. # elsewhere.