|
Packit |
62fe53 |
# Copyright (C) 1997-2016 Free Software Foundation, Inc.
|
|
Packit |
62fe53 |
#
|
|
Packit |
62fe53 |
# This file is part of DejaGnu.
|
|
Packit |
62fe53 |
#
|
|
Packit |
62fe53 |
# DejaGnu is free software; you can redistribute it and/or modify it
|
|
Packit |
62fe53 |
# under the terms of the GNU General Public License as published by
|
|
Packit |
62fe53 |
# the Free Software Foundation; either version 3 of the License, or
|
|
Packit |
62fe53 |
# (at your option) any later version.
|
|
Packit |
62fe53 |
#
|
|
Packit |
62fe53 |
# DejaGnu is distributed in the hope that it will be useful, but
|
|
Packit |
62fe53 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
62fe53 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
62fe53 |
# General Public License for more details.
|
|
Packit |
62fe53 |
#
|
|
Packit |
62fe53 |
# You should have received a copy of the GNU General Public License
|
|
Packit |
62fe53 |
# along with DejaGnu; if not, write to the Free Software Foundation,
|
|
Packit |
62fe53 |
# Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# Libremote gdbserver running native.
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
load_generic_config "gdbserver"
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
process_multilib_options ""
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# The default compiler for this target.
|
|
Packit |
62fe53 |
set_board_info compiler "[find_gcc]"
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# We will be using the standard GDB remote protocol
|
|
Packit |
62fe53 |
set_board_info gdb_protocol "remote"
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# Path to the gdbserver executable, if required.
|
|
Packit |
62fe53 |
set_board_info gdb_server_prog \
|
|
Packit |
62fe53 |
"../../libremote/native/server"
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# Name of the computer whose socket will be used, if required.
|
|
Packit |
62fe53 |
# set_board_info sockethost "localhost"
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# Port ID to use for socket connection
|
|
Packit |
62fe53 |
# set_board_info gdb,socketport "4004"
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# Use techniques appropriate to a stub
|
|
Packit |
62fe53 |
set_board_info use_gdb_stub 1
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# This gdbserver can only run a process once per session.
|
|
Packit |
62fe53 |
set_board_info gdb,do_reload_on_run 1
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# There's no support for argument-passing (yet).
|
|
Packit |
62fe53 |
set_board_info noargs 1
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# Can't do input (or output) in the current gdbserver.
|
|
Packit |
62fe53 |
set_board_info gdb,noinferiorio 1
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# Can't do hardware watchpoints, in general
|
|
Packit |
62fe53 |
set_board_info gdb,no_hardware_watchpoints 1
|