-# Copyright (C) 2013 Free Software Foundation, Inc.
+# Copyright (C) 2013-2018 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if { ![istarget "arm*-*-*"] } {
- verbose "Skipping ${testfile}."
+if { ![is_aarch32_target] } {
+ verbose "Skipping ${gdb_test_file_name}."
return
}
# on ARM, causing the PC to acquire a wrong value. That's why we use
# the "-Wl,-Ttext-segment" option compile the binary.
-if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} \
+if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
[list debug ldflags=-Wl,-Ttext-segment=0xb0000000]] } {
return -1
}