+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.
+
2018-06-22 Tom de Vries <tdevries@suse.de>
* lib/gcc-gdb-test.exp (report_gdb): New proc.
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]"
}
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]"
}
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]"
}