* config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
[dejagnu.git] / baseboards / sparclite-sim.exp
blobd5171a98554cdb2f76cfb5378512893f3f86ebd6
1 # This is a list of toolchains that are supported on this board.
2 set_board_info target_install {sparclite-elf}
4 # Load the generic configuration for this board. This will define a
5 # set of generic routines used by the tool to communicate with the
6 # board.
7 load_generic_config "sim"
9 # basic-sim.exp is a basic description for the standard Cygnus simulator.
10 load_base_board_description "basic-sim"
12 # This tells it which directory to look in for the simulator.
13 setup_sim erc32
15 # It needs no multilib flags by default.
16 process_multilib_options ""
18 set_board_info compiler "[find_gcc]"
19 set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"
20 set_board_info ldflags "-nostdlib -nostartfiles [libgloss_link_flags] [newlib_link_flags]"
22 # ELF simulator linker script.
23 set_board_info ldscript "-Telfsim.ld"
25 # The simulator doesn't return exit statuses and we need to indicate this.
26 set_board_info needs_status_wrapper 1
28 # We can't pass arguments.
29 set_board_info noargs 1
30 # Or do signals.
31 set_board_info gdb,nosignals 1
33 # We want to specify the sparclite emulator in GDB.
34 set_board_info gdb,target_sim_options "-sparclite"
36 # Pass -a -sparclite to the standalone simulator
37 set_board_info sim,options "-a -sparclite"