1# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
2# Foundation, Inc.
3#
4# This file is part of DejaGnu.
5#
6# DejaGnu is free software; you can redistribute it and/or modify it
7# under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# DejaGnu is distributed in the hope that it will be useful, but
12# WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14# General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with DejaGnu; if not, write to the Free Software Foundation,
18# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20# Load the tool-specific configuration for this board, as well as the
21# generic configuration. This will define any routines needed by the
22# tool to communicate with the board.
23load_generic_config "proelf"
24
25# GDB needs to use "target op50n" to talk to the board.
26set_board_info gdb_protocol  "op50n"
27
28if ![board_info $board exists output_format] {
29    set tempfil [lookfor_file $tool_root_dir binutils/objcopy]
30    if { $tempfil != "" } {
31	set_board_info objcopy $tempfil
32    } else {
33	set_board_info objcopy [transform objcopy]
34    }
35    unset tempfil
36}
37
38# The compiler used to build for this board. This has *nothing* to do
39# with what compiler is tested if we're testing gcc.
40set_board_info compiler  "[find_gcc]"
41set_board_info cflags  "[newlib_include_flags] [libgloss_include_flags]"
42set_board_info ldflags  "[libgloss_link_flags] [newlib_link_flags]"
43# It's an op50n board.
44set_board_info ldscript  "-Wl,-Top50n.ld"
45# The proelf interface has no way to return status information, so we
46# need to indicate this.
47set_board_info needs_status_wrapper  1
48
49# No support for signals.
50set_board_info gdb,nosignals 1
51# Nor can we do I/O.
52set_board_info gdb,noinferiorio 1
53
54# The monitor interface is really slow.
55set_board_info gdb,timeout 540
56