mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
b70bfc540d
Board file dwarf4-gdb-index.exp contains all the commands from cc-with-tweaks.exp (with CC_WITH_TWEAKS_FLAGS set to "-i"). Make dwarf4-gdb-index.exp smaller by including cc-with-tweaks.exp. Tested on x86_64-linux for gdb.base. gdb/testsuite/ChangeLog: 2019-05-01 Tom de Vries <tdevries@suse.de> * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
# Copyright 2012-2019 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/>.
|
|
|
|
# This file is a dejagnu "board file" and is used to run the testsuite
|
|
# with dwarf4 debug information and gdb-generated .gdb_index.
|
|
#
|
|
# Example usage:
|
|
# bash$ make check RUNTESTFLAGS='--target_board=dwarf4-gdb-index'
|
|
|
|
set CC_WITH_TWEAKS_FLAGS "-i"
|
|
load_board_description "cc-with-tweaks"
|
|
|
|
set_board_info debug_flags "-gdwarf-4 -fdebug-types-section"
|