diff options
author | Rob Savoye <rob@welcomehome.org> | 2002-08-30 01:40:56 +0000 |
---|---|---|
committer | Rob Savoye <rob@welcomehome.org> | 2002-08-30 01:40:56 +0000 |
commit | c9f826a839d7209ca8378f60ebbcbf657e08d066 (patch) | |
tree | 9075db1274c1ffc9daf686ce04c7652865320280 /baseboards | |
parent | 84f93d7c4a81b30037a6084b680fb79c397d86ad (diff) | |
download | dejagnu-c9f826a839d7209ca8378f60ebbcbf657e08d066.zip dejagnu-c9f826a839d7209ca8378f60ebbcbf657e08d066.tar.gz dejagnu-c9f826a839d7209ca8378f60ebbcbf657e08d066.tar.bz2 |
From Catherine Moore, Michael Meissner, Mark Salter, Jim Blandy:
* baseboards/frv-elf.exp: New board description.
* baseboards/frv-sim.exp: New board description.
* baseboards/frv-tiger.exp: New board description.
* baseboards/frv-tomcat.exp: New board description.
Diffstat (limited to 'baseboards')
-rw-r--r-- | baseboards/frv-elf.exp | 40 | ||||
-rw-r--r-- | baseboards/frv-sim.exp | 38 | ||||
-rw-r--r-- | baseboards/frv-tiger.exp | 32 | ||||
-rw-r--r-- | baseboards/frv-tomcat.exp | 32 |
4 files changed, 142 insertions, 0 deletions
diff --git a/baseboards/frv-elf.exp b/baseboards/frv-elf.exp new file mode 100644 index 0000000..54d4e5d --- /dev/null +++ b/baseboards/frv-elf.exp @@ -0,0 +1,40 @@ +# This is a list of toolchains that are supported on this board. +set_board_info target_install {frv-elf} + +# No multilib flags needed by default. +process_multilib_options "" + +# Load the generic configuration for this board. This will define a basic set +# of routines needed by the tool to communicate with the board. +if { $is_gdb_remote } { + load_generic_config "frv-stub" +} else { + load_generic_config "frv" +} + +# We only support newlib on this target. We assume that all multilib +# options have been specified before we get here. + +set_board_info compiler "[find_gcc]" +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" +set_board_info ldscript "-Wl,-Teva.ld" +set_board_info gdb,start_symbol "_start" + +set_board_info needs_status_wrapper 1 + +# The GDB protocol used for this target. +if { ! $is_gdb_remote } { + set_board_info gdb_protocol "frv" +} else { + set_board_info gdb_protocol "frv" + set_board_info use_gdb_stub 1 + set_board_info gdb_stub_ldscript "-Wl,-Teva-stub.ld" +} + +# Doesn't pass arguments or signals, can't return results, and doesn't +# do inferiorio. +set_board_info noargs 1 +set_board_info gdb,nosignals 1 +set_board_info gdb,noresults 1 +set_board_info gdb,noinferiorio 1 diff --git a/baseboards/frv-sim.exp b/baseboards/frv-sim.exp new file mode 100644 index 0000000..7e0dc47 --- /dev/null +++ b/baseboards/frv-sim.exp @@ -0,0 +1,38 @@ +# This is a list of toolchains that are supported on this board. +set_board_info target_install {frv-elf} + +# Load the generic configuration for this board. This will define a basic set +# of routines needed by the tool to communicate with the board. +load_generic_config "sim" + +# basic-sim.exp is a basic description for the standard Cygnus simulator. +load_base_board_description "basic-sim" + +# "frv" is the name of the sim subdir in devo/sim. +setup_sim frv + +# No multilib options needed by default. +process_multilib_options "" + +# We only support newlib on this target. We assume that all multilib +# options have been specified before we get here. + +set_board_info compiler "[find_gcc]" +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" +# No linker script needed. +set_board_info ldscript ""; + +# Doesn't pass arguments or signals, can't return results, and doesn't +# do inferiorio. +set_board_info noargs 1 +set_board_info gdb,nosignals 1 +set_board_info gdb,noresults 1 + +# More time is needed +set_board_info gcc,timeout 800 +set_board_info gdb,timeout 60 + +# Used by a few gcc.c-torture testcases to delimit how large the stack can +# be. +set_board_info gcc,stack_size 5000 diff --git a/baseboards/frv-tiger.exp b/baseboards/frv-tiger.exp new file mode 100644 index 0000000..db757b4 --- /dev/null +++ b/baseboards/frv-tiger.exp @@ -0,0 +1,32 @@ +# This is a list of toolchains that are supported on this board. +set_board_info target_install {frv-elf} + +# Load the generic configuration for this board. This will define a +# set of generic routines used by the tool to communicate with the +# board. +load_generic_config "cygmon"; + +# -mcpu=tomcat is needed for the board. +process_multilib_options "" + +set_board_info compiler "[find_gcc]"; +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; + +# CygMON linker script. +set_board_info ldscript "-specs=tiger.specs" + +# Standard remote protocol. +set_board_info gdb_protocol "remote"; +# We can't do input in GDB (yet! HA!). It *will* do output, hurrah. +set_board_info gdb,noinferiorio 1; +# Or pass arguments. +set_board_info gdb,noargs 1; +set_board_info noargs 1; +# Or do signals. +set_board_info gdb,nosignals 1; + +set_board_info shell_prompt "cygmon>" + +set_board_info use_gdb_stub 1; +set_board_info gdb,do_reload_on_run 1; diff --git a/baseboards/frv-tomcat.exp b/baseboards/frv-tomcat.exp new file mode 100644 index 0000000..a0c9612 --- /dev/null +++ b/baseboards/frv-tomcat.exp @@ -0,0 +1,32 @@ +# This is a list of toolchains that are supported on this board. +set_board_info target_install {frv-elf} + +# Load the generic configuration for this board. This will define a +# set of generic routines used by the tool to communicate with the +# board. +load_generic_config "cygmon"; + +# -mcpu=tomcat is needed for the board. +process_multilib_options "-mcpu=tomcat" + +set_board_info compiler "[find_gcc]"; +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; + +# CygMON linker script. +set_board_info ldscript "-specs=tomcat.specs" + +# Standard remote protocol. +set_board_info gdb_protocol "remote"; +# We can't do input in GDB (yet! HA!). It *will* do output, hurrah. +set_board_info gdb,noinferiorio 1; +# Or pass arguments. +set_board_info gdb,noargs 1; +set_board_info noargs 1; +# Or do signals. +set_board_info gdb,nosignals 1; + +set_board_info shell_prompt "cygmon>" + +set_board_info use_gdb_stub 1; +set_board_info gdb,do_reload_on_run 1; |