gdbserver-base.exp 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 2011-2022 Free Software Foundation, Inc.
  2. # This program is free software; you can redistribute it and/or modify
  3. # it under the terms of the GNU General Public License as published by
  4. # the Free Software Foundation; either version 3 of the License, or
  5. # (at your option) any later version.
  6. #
  7. # This program is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. # GNU General Public License for more details.
  11. #
  12. # You should have received a copy of the GNU General Public License
  13. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. # This file has common bits shared between other dejagnu "board files"
  15. # that are used to run the testsuite with gdbserver.
  16. process_multilib_options ""
  17. # The default compiler for this target.
  18. set_board_info compiler "[find_gcc]"
  19. # Test the copy of gdbserver in the build directory.
  20. set_board_info gdb_server_prog "[pwd]/../../gdbserver/gdbserver"
  21. # gdbserver does not intercept target file operations and perform them
  22. # on the host.
  23. set_board_info gdb,nofileio 1
  24. # The predefined TSVs in GDBserver.
  25. set_board_info gdb,predefined_tsv "\\\$trace_timestamp"
  26. set GDBFLAGS "${GDBFLAGS} -iex \"set auto-connect-native-target off\""