1 |
# This file is useful for gdb testing with libremote on an embedded linux |
# This file is useful for gdb testing with libremote on an embedded linux |
2 |
# board. In this case a Matsushita ASB2305 AM33 v2.0 board. |
# board. In this case a Matsushita ASB2305 AM33 v2.0 board. |
3 |
|
|
4 |
load_generic_config "libremote_server"; |
load_generic_config "libremote_server" |
5 |
|
|
6 |
process_multilib_options ""; |
process_multilib_options "" |
7 |
|
|
8 |
# The default compiler for this target. |
# The default compiler for this target. |
9 |
#set_board_info compiler "[find_gcc]"; |
#set_board_info compiler "[find_gcc]" |
10 |
set_board_info compiler "am33_2.0-linux-gnu-gcc"; |
set_board_info compiler "am33_2.0-linux-gnu-gcc" |
11 |
|
|
12 |
# We will be using the standard GDB remote protocol |
# We will be using the standard GDB remote protocol |
13 |
set_board_info gdb_protocol "remote" |
set_board_info gdb_protocol "remote" |
14 |
|
|
15 |
# Use techniques appropriate to a stub |
# Use techniques appropriate to a stub |
16 |
set_board_info use_gdb_stub 1; |
set_board_info use_gdb_stub 1 |
17 |
set_board_info gdb,gdb_stub 1; |
set_board_info gdb,gdb_stub 1 |
18 |
|
|
19 |
# This gdbserver can only run a process once per session. |
# This gdbserver can only run a process once per session. |
20 |
set_board_info gdb,do_reload_on_run 1; |
set_board_info gdb,do_reload_on_run 1 |
21 |
|
|
22 |
# There's no support for argument-passing (yet). |
# There's no support for argument-passing (yet). |
23 |
set_board_info noargs 1 |
set_board_info noargs 1 |
26 |
set_board_info gdb,noinferiorio 1 |
set_board_info gdb,noinferiorio 1 |
27 |
|
|
28 |
# Can't do hardware watchpoints, in general |
# Can't do hardware watchpoints, in general |
29 |
set_board_info gdb,no_hardware_watchpoints 1; |
set_board_info gdb,no_hardware_watchpoints 1 |
30 |
|
|
31 |
# New |
# New |
32 |
set_board_info gdb,nosignals 1 |
set_board_info gdb,nosignals 1 |