aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-03-17 10:34:18 +0100
committerTom de Vries <tdevries@suse.de>2023-03-17 10:34:18 +0100
commitbf8d2f92356768d329430c08dc81025243db636d (patch)
tree398847590459fac2c5d5d9b1e770811505335b90 /gdb
parent529b6c24ff2481b55123703cd25569ca8de717cc (diff)
downloadgdb-bf8d2f92356768d329430c08dc81025243db636d.zip
gdb-bf8d2f92356768d329430c08dc81025243db636d.tar.gz
gdb-bf8d2f92356768d329430c08dc81025243db636d.tar.bz2
[gdb/testsuite] Declare ada unsupported for remote host
Currently gdb_ada_compile doesn't support remote host. Make this explicit in allow_ada_tests. Tested on x86_64-linux.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/lib/gdb.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 8b3a594..5f32181 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -2442,6 +2442,10 @@ proc allow_fortran_tests {} {
# Return a 1 if I want to try to test ada.
proc allow_ada_tests {} {
+ if { [is_remote host] } {
+ # Currently gdb_ada_compile doesn't support remote host.
+ return 0
+ }
return 1
}