]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/boards/dwarf4-gdb-index.exp
Automatic Copyright Year update after running gdb/copyright.py
[thirdparty/binutils-gdb.git] / gdb / testsuite / boards / dwarf4-gdb-index.exp
index c9f0b369539b90708427e3093e04a5026cc7109f..abb1f558c1eb6521f8b99bd603bdf61e786c81b2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2012-2013 Free Software Foundation, Inc.
+# Copyright 2012-2022 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # Example usage:
 # bash$ make check RUNTESTFLAGS='--target_board=dwarf4-gdb-index'
 
-# This is copied from baseboards/unix.exp.
-# At the moment this only supports things that unix.exp supports.
-load_generic_config "unix"
-process_multilib_options ""
-set_board_info compiler "[find_gcc]"
+set CC_WITH_TWEAKS_FLAGS "-i"
+load_board_description "cc-with-tweaks"
 
 set_board_info debug_flags "-gdwarf-4 -fdebug-types-section"
-
-set contrib_dir [file normalize $srcdir/../contrib]
-set CC_FOR_TARGET "/bin/sh $contrib_dir/cc-with-tweaks.sh -i gcc"
-set CXX_FOR_TARGET "/bin/sh $contrib_dir/cc-with-tweaks.sh -i g++"
-
-# This is needed otherwise dejagnu tries to rsh to host "dwarf4-gdb-index".
-# set_board_info only sets the value if not already set.
-unset_board_info isremote
-set_board_info isremote 0