Blame baseboards/sh-sid.exp

Packit 62fe53
# Copyright (C) 1997-2016 Free Software Foundation, Inc.
Packit 62fe53
#
Packit 62fe53
# This file is part of DejaGnu.
Packit 62fe53
#
Packit 62fe53
# DejaGnu is free software; you can redistribute it and/or modify it
Packit 62fe53
# under the terms of the GNU General Public License as published by
Packit 62fe53
# the Free Software Foundation; either version 3 of the License, or
Packit 62fe53
# (at your option) any later version.
Packit 62fe53
#
Packit 62fe53
# DejaGnu is distributed in the hope that it will be useful, but
Packit 62fe53
# WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 62fe53
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 62fe53
# General Public License for more details.
Packit 62fe53
#
Packit 62fe53
# You should have received a copy of the GNU General Public License
Packit 62fe53
# along with DejaGnu; if not, write to the Free Software Foundation,
Packit 62fe53
# Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
Packit 62fe53
Packit 62fe53
# This is a list of toolchains that are supported on this board.
Packit 62fe53
set_board_info target_install {sh-elf}
Packit 62fe53
Packit 62fe53
# Load a baseboard description for SID simulators.
Packit 62fe53
load_base_board_description "basic-sid"
Packit 62fe53
Packit 62fe53
process_multilib_options ""
Packit 62fe53
Packit 62fe53
verbose "Using simulator [board_info $board sim]\n"
Packit 62fe53
set_board_info sim [find_rawsid]
Packit 62fe53
if { ${tool} == "gdb" } {
Packit 62fe53
    set_board_info sim,options "-f [find_sid_conf sh-gdb]"
Packit 62fe53
} else {
Packit 62fe53
    set_board_info sim,options "-f [find_sid_conf sh-gloss]"
Packit 62fe53
}
Packit 62fe53
Packit 62fe53
# Load the generic configuration for this board. This will define a basic set
Packit 62fe53
# of routines needed by the tool to communicate with the board.
Packit 62fe53
load_generic_config "sid"
Packit 62fe53
Packit 62fe53
# default endian: big
Packit 62fe53
# set_board_info sim,defaultendian "-EB"
Packit 62fe53
Packit 62fe53
# Tells the test harness to use pre-generated sid configurations.
Packit 62fe53
set_board_info sim,protocol "sid"