Replace non-portable Awk code in dejagnu auxiliary launcher
[dejagnu.git] / baseboards / gdbserver-sample.exp
blob16f9483ca0985209be29dabb867c93c1c2d1e4fd
1 # Copyright (C) 1997-2019, 2020 Free Software Foundation, Inc.
3 # This file is part of DejaGnu.
5 # DejaGnu is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # DejaGnu is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with DejaGnu; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19 # gdbserver running over ssh.
21 load_generic_config "gdbserver"
23 process_multilib_options ""
25 # The default compiler for this target.
26 #set_board_info compiler "/opt/src/gcc/install-30/bin/gcc"
27 #set_board_info c++compiler "/opt/src/gcc/install-30/bin/g++"
29 set_board_info rsh_prog /usr/bin/ssh
30 set_board_info rcp_prog /usr/bin/scp
31 set_board_info protocol standard
32 set_board_info hostname voltaire.debian.org
33 set_board_info username dan
34 set_board_info gdb_server_prog /home/dan/gdb/mv/obj/gdb/gdbserver/gdbserver
36 # We will be using the standard GDB remote protocol
37 set_board_info gdb_protocol "remote"
39 # Path to the gdbserver executable, if required.
40 set_board_info gdb_server_prog "../gdbserver/gdbserver"
42 # Name of the computer whose socket will be used, if required.
43 set_board_info sockethost "voltaire:"
45 # Port ID to use for socket connection
46 # set_board_info gdb,socketport "4004"
48 # Use techniques appropriate to a stub
49 set_board_info use_gdb_stub 1
51 # This gdbserver can only run a process once per session.
52 set_board_info gdb,do_reload_on_run 1
54 # There's no support for argument-passing (yet).
55 set_board_info noargs 1
57 # Can't do input (or output) in the current gdbserver.
58 set_board_info gdb,noinferiorio 1
60 # Can't do hardware watchpoints, in general
61 set_board_info gdb,no_hardware_watchpoints 1