diff options
author | Ben Elliston <bje@gnu.org> | 2005-07-05 23:32:41 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2005-07-05 23:32:41 +0000 |
commit | 1160f5f294add1604d4f9a9f4e00e24f9eab4ccc (patch) | |
tree | 92c72c58b02f4794b9952147449ce02a32cfa6ea | |
parent | 9da6f27d0c81f4cc8cdd805f3836293cf0ad22b6 (diff) | |
download | dejagnu-1160f5f294add1604d4f9a9f4e00e24f9eab4ccc.zip dejagnu-1160f5f294add1604d4f9a9f4e00e24f9eab4ccc.tar.gz dejagnu-1160f5f294add1604d4f9a9f4e00e24f9eab4ccc.tar.bz2 |
2005-07-06 Aldy Hernandez <aldyh@redhat.com>
* baseboards/ms1-sid.exp: New.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | baseboards/ms1-sid.exp | 38 |
2 files changed, 42 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2005-07-06 Aldy Hernandez <aldyh@redhat.com> + + * baseboards/ms1-sid.exp: New. + 2005-07-01 Ben Elliston <bje@gnu.org> Unify some changes with the 1.4 branch: diff --git a/baseboards/ms1-sid.exp b/baseboards/ms1-sid.exp new file mode 100644 index 0000000..79d9368 --- /dev/null +++ b/baseboards/ms1-sid.exp @@ -0,0 +1,38 @@ +# This is a list of toolchains that are supported on this board. +set_board_info target_install {ms1-elf} + +# Load a baseboard description for SID simulators. +load_base_board_description "basic-sid" + +set_board_info ldflags "-msim [libgloss_link_flags] [newlib_link_flags]" + +verbose "Using simulator [board_info $board sim]\n" +set_board_info sim [find_rawsid] +if { ${tool} == "gdb" } { + set_board_info sim,options "-f [find_sid_conf ms1-gdb]" +} else { + set_board_info sim,options "-f [find_sid_conf ms1-gloss]" +} + +# Used by a few gcc.c-torture testcases when trampolines are used. +set_board_info gcc,no_trampolines 1 + +# Used by a few gcc.c-torture testcases when labels as values are used. +set_board_info gcc,no_label_values 1 + +# Not needed by SID anymore, but needed to suppress warning in +# gdb/testsuite/config/sid.exp. +set_board_info sim,defaultendian "-EB" + +#verbose "Using simulator [board_info $board sim]\n" +#set_board_info sim [find_sid "ms1-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 "sid" + +# Tells the test harness to use pre-generated sid configurations. +set_board_info sim,protocol "sid"; + +# This is the name of our entry point symbol. +set_board_info gdb,start_symbol _start |