Change the output of readelf's note display so that the "Data size" column header...
[deliverable/binutils-gdb.git] / gdb / testsuite / boards / fission-dwp.exp
CommitLineData
42a4f53d 1# Copyright 2013-2019 Free Software Foundation, Inc.
b6abb10c
DE
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 Fission support and generation of dwp files.
18# http://gcc.gnu.org/wiki/DebugFission
19# http://gcc.gnu.org/wiki/DebugFissionDWP
20#
21# Example usage:
22# bash$ make check RUNTESTFLAGS='--target_board=fission-dwp'
23
c0803dc2
DE
24load_board_description "fission"
25
b6abb10c
DE
26set found_gcc [find_gcc]
27set found_gxx [find_g++]
b6abb10c
DE
28
29set contrib_dir [file normalize $srcdir/../contrib]
30if ![info exists CC_FOR_TARGET] {
31 set CC_FOR_TARGET "$found_gcc"
32}
f00674fe 33set CC_FOR_TARGET "$contrib_dir/cc-with-tweaks.sh -p $CC_FOR_TARGET"
b6abb10c
DE
34if ![info exists CXX_FOR_TARGET] {
35 set CXX_FOR_TARGET "$found_gxx"
36}
f00674fe 37set CXX_FOR_TARGET "$contrib_dir/cc-with-tweaks.sh -p $CXX_FOR_TARGET"
b6abb10c
DE
38
39if ![info exists READELF_FOR_TARGET] {
40 set READELF_FOR_TARGET "[transform readelf]"
41}
42# cc-with-tweaks.sh uses READELF, not READELF_FOR_TARGET. Blech.
43set env(READELF) "$READELF_FOR_TARGET"
44
45if ![info exists DWP_FOR_TARGET] {
46 set DWP_FOR_TARGET "[transform dwp]"
47}
48# cc-with-tweaks.sh uses DWP, not DWP_FOR_TARGET. Blech.
49set env(DWP) "$DWP_FOR_TARGET"
This page took 0.693135 seconds and 4 git commands to generate.