mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
* 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:
@ -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.
|
||||||
|
|
||||||
|
@ -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,15 +528,17 @@ if [initialize] then {
|
|||||||
initialize
|
initialize
|
||||||
}
|
}
|
||||||
|
|
||||||
test_stepping
|
if ![target_info exsts gdb,cannot_call_functions] {
|
||||||
|
test_stepping
|
||||||
|
|
||||||
# See above.
|
# See above.
|
||||||
if [istarget "mips-idt-*"] then {
|
if [istarget "mips-idt-*"] then {
|
||||||
gdb_exit
|
gdb_exit
|
||||||
gdb_start
|
gdb_start
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
gdb_reinitialize_dir $srcdir/$subdir
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user