aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp')
-rw-r--r--gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp b/gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp
index 8655f54..9099df0 100644
--- a/gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp
+++ b/gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp
@@ -15,6 +15,13 @@
# This file is part of the gdb testsuite
+# Test relies on checking gdb debug output. Do not run if gdb debug is
+# enabled as any debug will be redirected to the log.
+if [gdb_debug_enabled] {
+ untested "debug is enabled"
+ return 0
+}
+
standard_testfile
if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {