diff options
Diffstat (limited to 'gdb/testsuite/gdb.gdb/complaints.exp')
-rw-r--r-- | gdb/testsuite/gdb.gdb/complaints.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.gdb/complaints.exp b/gdb/testsuite/gdb.gdb/complaints.exp index 719065f..c29053c 100644 --- a/gdb/testsuite/gdb.gdb/complaints.exp +++ b/gdb/testsuite/gdb.gdb/complaints.exp @@ -55,6 +55,11 @@ proc setup_test { executable } { if { [lindex $result 0] != "" } then { return -1 + } else { + if { [lsearch -exact [lrange $result 1 end] "nodebug"] >= 0 } then { + untested "No debug information, skipping testcase." + return -1 + } } # Set a breakpoint at main |