diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-11-30 11:39:31 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-11-30 11:39:31 -0500 |
commit | f1af7b94c16029f2c6da9eae4076f64cd9383687 (patch) | |
tree | c719aa90cb828151a95ef99cc50960883f15e885 /gdb/testsuite/boards/fission.exp | |
parent | e3919f3e898aa5ab9a98dcaf9e242a9ebacc0757 (diff) | |
download | binutils-gdb-f1af7b94c16029f2c6da9eae4076f64cd9383687.tar.gz |
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/fission.exp')
-rw-r--r-- | gdb/testsuite/boards/fission.exp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/testsuite/boards/fission.exp b/gdb/testsuite/boards/fission.exp index 1eb89de596d..4a62ed9663b 100644 --- a/gdb/testsuite/boards/fission.exp +++ b/gdb/testsuite/boards/fission.exp @@ -31,7 +31,5 @@ set_board_info compiler "[find_gcc]" # -gsplit-dwarf implies -ggnu-pubnames for gcc, it doesn't for clang. set_board_info debug_flags "-gdwarf-4 -gsplit-dwarf -ggnu-pubnames -fdebug-types-section -Wl,--gdb-index" -# This is needed otherwise dejagnu tries to rsh to host "fission". Blech. -# Double blech: set_board_info only sets the value if not already set. -unset_board_info isremote -set_board_info isremote 0 +# This is needed otherwise dejagnu tries to rsh to host "fission". +load_board_description "local-board" |