[PATCH 7/8] [gdb/testsuite] Add target board dwarf64.exp
Tom de Vries
tdevries@suse.de
Mon Oct 25 10:29:59 GMT 2021
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 <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"
--
2.26.2
More information about the Gdb-patches
mailing list