aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/boards/cc-with-tweaks.exp
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-11-30 11:39:31 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2017-11-30 11:39:31 -0500
commitf1af7b94c16029f2c6da9eae4076f64cd9383687 (patch)
treec719aa90cb828151a95ef99cc50960883f15e885 /gdb/testsuite/boards/cc-with-tweaks.exp
parente3919f3e898aa5ab9a98dcaf9e242a9ebacc0757 (diff)
downloadgdb-f1af7b94c16029f2c6da9eae4076f64cd9383687.zip
gdb-f1af7b94c16029f2c6da9eae4076f64cd9383687.tar.gz
gdb-f1af7b94c16029f2c6da9eae4076f64cd9383687.tar.bz2
Use boards/local-board.exp more
local-board.exp was introduced recently, containing the code required to force the gdbserver boards to be non-remote (from the DejaGNU point of view). Other board files use the same trick of forcing isremote to 0. Instead of doing it by hand in each file, include local-board.exp. gdb/testsuite/ChangeLog: * boards/cc-with-tweaks.exp: Include local-board.exp instead of setting isremote by hand. * boards/dwarf4-gdb-index.exp: Likewise. * boards/fission.exp: Likewise. * boards/stabs.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/boards/cc-with-tweaks.exp')
-rw-r--r--gdb/testsuite/boards/cc-with-tweaks.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/boards/cc-with-tweaks.exp b/gdb/testsuite/boards/cc-with-tweaks.exp
index 794217c..bdffdab 100644
--- a/gdb/testsuite/boards/cc-with-tweaks.exp
+++ b/gdb/testsuite/boards/cc-with-tweaks.exp
@@ -30,10 +30,7 @@ if ![info exists CC_WITH_TWEAKS_FLAGS] {
}
# This is needed otherwise dejagnu tries to rsh to host "cc-with-tweaks".
-# set_board_info only sets the value if not already set.
-# find_gcc checks for this, so set early.
-unset_board_info isremote
-set_board_info isremote 0
+load_board_description "local-board"
# This is based on baseboards/unix.exp.
# At the moment we only support systems that unix.exp supports.