diff options
-rw-r--r-- | gdb/testsuite/lib/ada.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/ada.exp b/gdb/testsuite/lib/ada.exp index 02a5d1a..4395f31 100644 --- a/gdb/testsuite/lib/ada.exp +++ b/gdb/testsuite/lib/ada.exp @@ -167,6 +167,10 @@ proc gnatmake_version_at_least { major } { # Return 1 if the GNAT runtime appears to have debug info. gdb_caching_proc gnat_runtime_has_debug_info {} { + if { ![allow_ada_tests] } { + return 0 + } + global srcdir set src "$srcdir/lib/gnat_debug_info_test.adb" |