dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch: Add ms1 board


From: Aldy Hernandez
Subject: patch: Add ms1 board
Date: Tue, 5 Jul 2005 14:28:43 -0400
User-agent: Mutt/1.4.2.1i

Hi folks!

Here is a patch adding support for the ms1-elf target.

Would this be OK for inclusion in dejagnu?

Thanks.

        * baseboards/ms1-sid.exp: New.
        
Index: baseboards/ms1-sid.exp
===================================================================
RCS file: baseboards/ms1-sid.exp
diff -N baseboards/ms1-sid.exp
*** /dev/null   1 Jan 1970 00:00:00 -0000
--- baseboards/ms1-sid.exp      5 Jul 2005 18:27:47 -0000
***************
*** 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]