1 |
# Load the generic configuration for this board. This will define a basic |
# Load the generic configuration for this board. This will define a basic |
2 |
# set of routines needed by the tool to communicate with the board. |
# set of routines needed by the tool to communicate with the board. |
3 |
load_generic_config "sim"; |
load_generic_config "sim" |
4 |
|
|
5 |
# basic-sim.exp is a basic description for the standard Cygnus simulator. |
# basic-sim.exp is a basic description for the standard Cygnus simulator. |
6 |
load_base_board_description "basic-sim"; |
load_base_board_description "basic-sim" |
7 |
|
|
8 |
# This tells it which directory to look in for the simulator. |
# This tells it which directory to look in for the simulator. |
9 |
setup_sim mips; |
setup_sim mips |
10 |
|
|
11 |
# No multilib flags are set by default. |
# No multilib flags are set by default. |
12 |
process_multilib_options ""; |
process_multilib_options "" |
13 |
|
|
14 |
# The compiler used to build for this board. This has *nothing* to do |
# The compiler used to build for this board. This has *nothing* to do |
15 |
# with what compiler is tested if we're testing gcc. |
# with what compiler is tested if we're testing gcc. |
16 |
set_board_info compiler "[find_gcc]"; |
set_board_info compiler "[find_gcc]" |
17 |
|
|
18 |
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"; |
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" |
19 |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" |
20 |
|
|
21 |
# Use idt. |
# Use idt. |
22 |
if { [board_info $board obj_format] == "ecoff" } { |
if { [board_info $board obj_format] == "ecoff" } { |
23 |
set_board_info ldscript "-Tidtecoff.ld"; |
set_board_info ldscript "-Tidtecoff.ld" |
24 |
} else { |
} else { |
25 |
set_board_info ldscript "-Tidt.ld"; |
set_board_info ldscript "-Tidt.ld" |
26 |
} |
} |
27 |
|
|
28 |
# And, it can't do arguments, and doesn't have real signals. |
# And, it can't do arguments, and doesn't have real signals. |
29 |
set_board_info noargs 1; |
set_board_info noargs 1 |
30 |
set_board_info gdb,nosignals 1; |
set_board_info gdb,nosignals 1 |