* config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
[dejagnu.git] / baseboards / tx39-dve.exp
blob2496b9b7dc6a52d9cb7b2d50f54e8187a557b137
1 # This is a list of toolchains that are supported on this board.
2 set_board_info target_install {mips-tx39-elf mips-elf}
4 # Load the generic configuration for this board. This will define a basic
5 # set of routines needed by the tool to communicate with the board.
6 if { [board_info $board cygmon] == "yes" } {
7 load_generic_config "cygmon"
8 } else {
9 load_generic_config "dve"
12 # It's a big-endian board.
13 process_multilib_options "big-endian"
15 # We only support newlib on this target. We assume that all multilib
16 # options have been specified before we get here.
17 set_board_info compiler "[find_gcc]"
18 set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
19 set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
20 # DDB linker script.
21 set_board_info ldscript "-Wl,-Tdve.ld"
23 # GDB doesn't return exit statuses and we need to indicate this;
24 # the standard GCC wrapper will work with this target.
25 set_board_info needs_status_wrapper 1
27 # The GDB protocol used with this board.
28 if { [board_info $board cygmon] == "yes" } {
29 set_board_info gdb_protocol "remote"
30 } else {
31 set_board_info gdb_protocol "r3900"
34 # This is needed for compiling nullstone.
35 set_board_info nullstone,lib "mips-clock.c"
36 set_board_info nullstone,ticks_per_sec 3782018
38 # Sometimes the board gets into a state where it always generates SIGFPE.
39 #set_board_info unreliable 1
41 # Can't pass arguments to the program.
42 set_board_info noargs 1
44 # No support for signals.
45 set_board_info gdb,nosignals 1
47 # We need to clear the floating-point status register before running.
48 #set_board_info gdb_init_command "print/x \$fsr = 0x0"