forked from Imagelibrary/binutils-gdb
Use require support_displaced_stepping
This changes some tests to use "require support_displaced_stepping".
This commit is contained in:
@@ -16,10 +16,7 @@ standard_testfile insn-reloc.c
|
|||||||
set executable $testfile
|
set executable $testfile
|
||||||
set expfile $testfile.exp
|
set expfile $testfile.exp
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
# Some targets have leading underscores on assembly symbols.
|
# Some targets have leading underscores on assembly symbols.
|
||||||
set additional_flags [gdb_target_symbol_prefix_flags]
|
set additional_flags [gdb_target_symbol_prefix_flags]
|
||||||
|
|||||||
@@ -15,10 +15,7 @@
|
|||||||
|
|
||||||
standard_testfile
|
standard_testfile
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
# The testfile uses "run". The real bug happened only for ![is_remote target].
|
# The testfile uses "run". The real bug happened only for ![is_remote target].
|
||||||
if [use_gdb_stub] {
|
if [use_gdb_stub] {
|
||||||
|
|||||||
@@ -21,10 +21,7 @@ if {![istarget "*-*-linux*"]} {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "inferior-died.exp"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .c
|
standard_testfile .c
|
||||||
|
|
||||||
|
|||||||
@@ -15,10 +15,7 @@
|
|||||||
|
|
||||||
standard_testfile start.c
|
standard_testfile start.c
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
save_vars { GDBFLAGS } {
|
save_vars { GDBFLAGS } {
|
||||||
set GDBFLAGS "$GDBFLAGS -ex \"set non-stop on\""
|
set GDBFLAGS "$GDBFLAGS -ex \"set non-stop on\""
|
||||||
|
|||||||
@@ -13,10 +13,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
load_lib mi-support.exp
|
load_lib mi-support.exp
|
||||||
set MIFLAGS "-i=mi"
|
set MIFLAGS "-i=mi"
|
||||||
|
|||||||
@@ -14,10 +14,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
load_lib mi-support.exp
|
load_lib mi-support.exp
|
||||||
set MIFLAGS "-i=mi"
|
set MIFLAGS "-i=mi"
|
||||||
|
|||||||
@@ -16,10 +16,7 @@
|
|||||||
# Regression test for PR11557. Make sure we don't end up with a stale
|
# Regression test for PR11557. Make sure we don't end up with a stale
|
||||||
# register cache just after resuming a thread.
|
# register cache just after resuming a thread.
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
load_lib mi-support.exp
|
load_lib mi-support.exp
|
||||||
set MIFLAGS "-i=mi"
|
set MIFLAGS "-i=mi"
|
||||||
|
|||||||
@@ -13,10 +13,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
load_lib mi-support.exp
|
load_lib mi-support.exp
|
||||||
set MIFLAGS "-i=mi"
|
set MIFLAGS "-i=mi"
|
||||||
|
|||||||
@@ -13,10 +13,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
load_lib mi-support.exp
|
load_lib mi-support.exp
|
||||||
set MIFLAGS "-i=mi"
|
set MIFLAGS "-i=mi"
|
||||||
|
|||||||
@@ -18,10 +18,7 @@
|
|||||||
# the main thread doesn't just silently stop at the first internal
|
# the main thread doesn't just silently stop at the first internal
|
||||||
# breakpoint (usually the _dl_debug_state breakpoint).
|
# breakpoint (usually the _dl_debug_state breakpoint).
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
load_lib mi-support.exp
|
load_lib mi-support.exp
|
||||||
set MIFLAGS "-i=mi"
|
set MIFLAGS "-i=mi"
|
||||||
|
|||||||
@@ -13,12 +13,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
require !skip_hw_watchpoint_tests
|
require !skip_hw_watchpoint_tests support_displaced_stepping
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
load_lib mi-support.exp
|
load_lib mi-support.exp
|
||||||
set MIFLAGS "-i=mi"
|
set MIFLAGS "-i=mi"
|
||||||
|
|||||||
@@ -13,10 +13,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if { ![support_displaced_stepping] } {
|
require support_displaced_stepping
|
||||||
unsupported "displaced stepping"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
load_lib gdb-python.exp
|
load_lib gdb-python.exp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user