+runtest-ugdb
[nethome.git] / src / runtest-ugdb / boards / native-ugdb.exp
1 # Copyright 2010 Free Software Foundation, Inc.
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 3 of the License, or
6 # (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
15
16 # ugdb running native.
17
18 load_generic_config "native-ugdb-config"
19 process_multilib_options ""
20
21 # The default compiler for this target.
22 set_board_info compiler "[find_gcc]"
23
24 # This ugdb can only run a process once per session.
25 set_board_info gdb,do_reload_on_run 1
26
27 # There's no support for argument-passing (yet).
28 set_board_info noargs 1
29
30 # Can't do input (or output) in the current ugdb.
31 set_board_info gdb,noinferiorio 1
32
33 # ugdb does not intercept target file operations and perform them
34 # on the host.
35 set_board_info gdb,nofileio 1
36
37 # Can't do hardware watchpoints, in general.
38 set_board_info gdb,no_hardware_watchpoints 1
39
40 set_board_info sockethost "localhost:"
41
42 # FIXME: ugdb probably should not be a stub.
43 #set_board_info use_gdb_stub 1
44
45 # That is, the target processes are on the same host.
46 # Does not work: set_board_info isremote 0
47 set board_info(native-ugdb,isremote) 0