4 |
|
|
5 |
# Load the generic configuration for this board. This will define a basic |
# Load the generic configuration for this board. This will define a basic |
6 |
# set of routines needed by the tool to communicate with the board. |
# set of routines needed by the tool to communicate with the board. |
7 |
load_generic_config "sim"; |
load_generic_config "sim" |
8 |
|
|
9 |
# basic-sim.exp is a basic description for the standard Cygnus simulator. |
# basic-sim.exp is a basic description for the standard Cygnus simulator. |
10 |
load_base_board_description "basic-sim"; |
load_base_board_description "basic-sim" |
11 |
|
|
12 |
# This tells it which directory to look in for the simulator. |
# This tells it which directory to look in for the simulator. |
13 |
setup_sim mips; |
setup_sim mips |
14 |
|
|
15 |
# No multilib flags are set by default. |
# No multilib flags are set by default. |
16 |
process_multilib_options ""; |
process_multilib_options "" |
17 |
|
|
18 |
# 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 |
19 |
# with what compiler is tested if we're testing gcc. |
# with what compiler is tested if we're testing gcc. |
20 |
set_board_info compiler "[find_gcc]"; |
set_board_info compiler "[find_gcc]" |
21 |
|
|
22 |
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"; |
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" |
23 |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" |
24 |
# PMON linker script. |
# PMON linker script. |
25 |
set_board_info ldscript "-Tpmon.ld" |
set_board_info ldscript "-Tpmon.ld" |
26 |
|
|
27 |
# And, it can't do arguments or signals in GDB. |
# And, it can't do arguments or signals in GDB. |
28 |
set_board_info noargs 1; |
set_board_info noargs 1 |
29 |
set_board_info gdb,nosignals 1; |
set_board_info gdb,nosignals 1 |