Automatic Copyright Year update after running gdb/copyright.py
[deliverable/binutils-gdb.git] / gdb / testsuite / boards / debug-types.exp
CommitLineData
88b9d363 1# Copyright 2020-2022 Free Software Foundation, Inc.
d472f0fb
TV
2
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 3 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16# This file is a dejagnu "board file" and is used to run the testsuite
17# with -fdebug-types-section.
18#
19# Example usage:
20# bash$ make check RUNTESTFLAGS='--target_board=debug-types'
21
22load_board_description "local-board"
23
24# This is based on baseboards/unix.exp.
25# At the moment we only support systems that unix.exp supports.
26load_generic_config "unix"
27process_multilib_options ""
28set found_gcc [find_gcc]
29set found_gxx [find_g++]
30set found_gnatmake [find_gnatmake]
31set found_f90 [find_gfortran]
32set found_f77 [find_g77]
33set_board_info compiler "$found_gcc"
34
35# The -fdebug-types-section switch only has an effect with DWARF version 4.
36# For now, we don't enforce DWARF-4. This lets test-cases that enforce a
37# different version alone. And since DWARF-4 is the default for gcc-4.8
38# - gcc-10 anyway, we don't lose much test coverage that way.
39#set_board_info debug_flags "-gdwarf-4 -fdebug-types-section"
40
41set_board_info debug_flags "-g -fdebug-types-section"
This page took 0.228143 seconds and 4 git commands to generate.