aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2021-11-22 09:14:15 +0100
committerTom de Vries <tdevries@suse.de>2021-11-22 09:14:15 +0100
commit26bf28e29d7b3bddc6d2f8f34f07000f2b858588 (patch)
tree1907cc2000724b8fab984d8206126b19a3dcbbfb
parent44fda089397a9e72a9d82387a97097d1d26a8593 (diff)
downloadgdb-26bf28e29d7b3bddc6d2f8f34f07000f2b858588.zip
gdb-26bf28e29d7b3bddc6d2f8f34f07000f2b858588.tar.gz
gdb-26bf28e29d7b3bddc6d2f8f34f07000f2b858588.tar.bz2
[gdb/testsuite] Add target board dwarf64.exp
Add a new target board dwarf64.exp, that runs test with -gdwarf64. Tested on x86_64-linux.
-rw-r--r--gdb/testsuite/boards/dwarf64.exp23
1 files changed, 23 insertions, 0 deletions
diff --git a/gdb/testsuite/boards/dwarf64.exp b/gdb/testsuite/boards/dwarf64.exp
new file mode 100644
index 0000000..36acd70
--- /dev/null
+++ b/gdb/testsuite/boards/dwarf64.exp
@@ -0,0 +1,23 @@
+# Copyright 2021 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
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+load_generic_config "unix"
+
+set_board_info compiler "[find_gcc]"
+
+set_board_info debug_flags "-gdwarf64 -g"
+
+# This is needed otherwise dejagnu tries to rsh to host "$boardname".
+load_board_description "local-board"