~ubuntu-branches/ubuntu/saucy/dejagnu/saucy

« back to all changes in this revision

Viewing changes to baseboards/d10v.exp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2004-02-09 15:07:58 UTC
  • Revision ID: james.westby@ubuntu.com-20040209150758-oaj7r5zrop60v8sb
Tags: upstream-1.4.4
ImportĀ upstreamĀ versionĀ 1.4.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
# This is a list of toolchains that are supported on this board.
 
21
set_board_info target_install {d10v-elf}
 
22
 
 
23
# Load the generic configuration for this board. This will define a base set
 
24
# of routines needed by the tool to communicate with the board.
 
25
load_generic_config "d10v"
 
26
 
 
27
# No multilib options are needed by default for this board.
 
28
process_multilib_options ""
 
29
 
 
30
# We only support newlib on this target. We assume that all multilib
 
31
# options have been specified before we get here.
 
32
set_board_info compiler "[find_gcc]"
 
33
set_board_info cflags "[newlib_include_flags]"
 
34
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
 
35
# No linker script needed.
 
36
set_board_info ldscript ""
 
37
 
 
38
# The board can't really return exit statuses and we need to indicate this;
 
39
# however, the standard GCC wrapper won't work with this target because
 
40
# it can't do I/O.
 
41
#set_board_info needs_status_wrapper  1
 
42
 
 
43
# It uses the remote stub protocol to talk to the board.
 
44
set_board_info gdb_protocol  "remote"
 
45
set_board_info use_gdb_stub  1
 
46
 
 
47
# Both the EVA and TS3 boards currently deal badly with X packets.
 
48
set_board_info disable_x_packet 1
 
49
 
 
50
# Both the EVA and TS3 boards currently deal badly with Z packets.
 
51
set_board_info disable_z_packet 1
 
52
 
 
53
# Used by gdb-comm.
 
54
set_board_info gdb_run_command  "jump *_start"
 
55
set_board_info gdb,start_symbol  "_start"
 
56
 
 
57
# Can't pass arguments to programs on this target.
 
58
set_board_info noargs  1
 
59
# And there's no support for signals.
 
60
set_board_info gdb,nosignals  1
 
61
# And it can't do I/O.
 
62
set_board_info gdb,noinferiorio  1
 
63
 
 
64
# Used by a few gcc.c-torture testcases to delimit how large the stack can
 
65
# be.
 
66
set_board_info gcc,stack_size  5000
 
67
 
 
68
# Used by a few gcc.c-torture testcases when trampolines are used.
 
69
set_board_info gcc,no_trampolines  1
 
70
 
 
71
# Used by a few gcc.c-torture testcases when labels as values are used.
 
72
set_board_info gcc,no_label_values  1
 
73
 
 
74
# sizeof int != sizeof long.
 
75
set_board_info gdb,short_int 1
 
76
 
 
77
# Some d10v:ts3 boards are in ts2-board compatibility mode after a reset.
 
78
# Force it into d10v:ts3 internal mode
 
79
set_board_info gdb_init_command "set \$dmap2 = 0x2000"