Replace non-portable Awk code in dejagnu auxiliary launcher
[dejagnu.git] / baseboards / sh-sid.exp
bloba50a8b5ebc7b6212a18e9cf659414bd49c647e42
1 # Copyright (C) 1997-2016 Free Software Foundation, Inc.
3 # This file is part of DejaGnu.
5 # DejaGnu is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # DejaGnu is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with DejaGnu; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19 # This is a list of toolchains that are supported on this board.
20 set_board_info target_install {sh-elf}
22 # Load a baseboard description for SID simulators.
23 load_base_board_description "basic-sid"
25 process_multilib_options ""
27 verbose "Using simulator [board_info $board sim]\n"
28 set_board_info sim [find_rawsid]
29 if { $tool eq "gdb" } {
30 set_board_info sim,options "-f [find_sid_conf sh-gdb]"
31 } else {
32 set_board_info sim,options "-f [find_sid_conf sh-gloss]"
35 # Load the generic configuration for this board. This will define a basic set
36 # of routines needed by the tool to communicate with the board.
37 load_generic_config "sid"
39 # default endian: big
40 # set_board_info sim,defaultendian "-EB"
42 # Tells the test harness to use pre-generated sid configurations.
43 set_board_info sim,protocol "sid"