diff options
author | Tom de Vries <tdevries@suse.de> | 2018-06-22 20:56:08 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2018-06-22 20:56:08 +0000 |
commit | 73607ff9ec812d546fcd89e136dac482d9684371 (patch) | |
tree | 02c50d4f107976fe43efa23d29ab973232931d54 /gcc/testsuite/gcc.dg/guality | |
parent | be56f2c4730a3d28389f7ff757fb3b7137bd2e57 (diff) | |
download | gcc-73607ff9ec812d546fcd89e136dac482d9684371.zip gcc-73607ff9ec812d546fcd89e136dac482d9684371.tar.gz gcc-73607ff9ec812d546fcd89e136dac482d9684371.tar.bz2 |
[testsuite/guality] Use buildarea gdb by default in combined build
2018-06-22 Tom de Vries <tdevries@suse.de>
* g++.dg/guality/guality.exp (guality_gdb_name): Default to
$rootme/../gdb/gdb, if available.
* gcc.dg/guality/guality.exp (guality_gdb_name): Same.
* gfortran.dg/guality/guality.exp (guality_gdb_name): Same.
From-SVN: r261935
Diffstat (limited to 'gcc/testsuite/gcc.dg/guality')
-rw-r--r-- | gcc/testsuite/gcc.dg/guality/guality.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/guality/guality.exp b/gcc/testsuite/gcc.dg/guality/guality.exp index 7eebd27..2a90ec3 100644 --- a/gcc/testsuite/gcc.dg/guality/guality.exp +++ b/gcc/testsuite/gcc.dg/guality/guality.exp @@ -38,6 +38,9 @@ global GDB if ![info exists ::env(GUALITY_GDB_NAME)] { if [info exists GDB] { set guality_gdb_name "$GDB" + } elseif [file exists $rootme/../gdb/gdb] { + # If we're doing a combined build, and gdb is available, use it. + set guality_gdb_name "$rootme/../gdb/gdb" } else { set guality_gdb_name "[transform gdb]" } |