4 |
# Load the generic configuration for this board. This will define a |
# Load the generic configuration for this board. This will define a |
5 |
# set of generic routines used by the tool to communicate with the |
# set of generic routines used by the tool to communicate with the |
6 |
# board. |
# board. |
7 |
load_generic_config "cygmon"; |
load_generic_config "cygmon" |
8 |
|
|
9 |
# -mcpu=tomcat is needed for the board. |
# -mcpu=tomcat is needed for the board. |
10 |
process_multilib_options "-mcpu=tomcat" |
process_multilib_options "-mcpu=tomcat" |
11 |
|
|
12 |
set_board_info compiler "[find_gcc]"; |
set_board_info compiler "[find_gcc]" |
13 |
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; |
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" |
14 |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]" |
15 |
|
|
16 |
# CygMON linker script. |
# CygMON linker script. |
17 |
set_board_info ldscript "-specs=tomcat.specs" |
set_board_info ldscript "-specs=tomcat.specs" |
18 |
|
|
19 |
# Standard remote protocol. |
# Standard remote protocol. |
20 |
set_board_info gdb_protocol "remote"; |
set_board_info gdb_protocol "remote" |
21 |
# We can't do input in GDB (yet! HA!). It *will* do output, hurrah. |
# We can't do input in GDB (yet! HA!). It *will* do output, hurrah. |
22 |
set_board_info gdb,noinferiorio 1; |
set_board_info gdb,noinferiorio 1 |
23 |
# Or pass arguments. |
# Or pass arguments. |
24 |
set_board_info gdb,noargs 1; |
set_board_info gdb,noargs 1 |
25 |
set_board_info noargs 1; |
set_board_info noargs 1 |
26 |
# Or do signals. |
# Or do signals. |
27 |
set_board_info gdb,nosignals 1; |
set_board_info gdb,nosignals 1 |
28 |
|
|
29 |
set_board_info shell_prompt "cygmon>" |
set_board_info shell_prompt "cygmon>" |
30 |
|
|
31 |
set_board_info use_gdb_stub 1; |
set_board_info use_gdb_stub 1 |
32 |
set_board_info gdb,do_reload_on_run 1; |
set_board_info gdb,do_reload_on_run 1 |