From 26bf28e29d7b3bddc6d2f8f34f07000f2b858588 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Mon, 22 Nov 2021 09:14:15 +0100 Subject: [PATCH] [gdb/testsuite] Add target board dwarf64.exp Add a new target board dwarf64.exp, that runs test with -gdwarf64. Tested on x86_64-linux. --- gdb/testsuite/boards/dwarf64.exp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 gdb/testsuite/boards/dwarf64.exp diff --git a/gdb/testsuite/boards/dwarf64.exp b/gdb/testsuite/boards/dwarf64.exp new file mode 100644 index 00000000000..36acd7026b3 --- /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 . + +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" -- 2.30.2