diff options
author | Manoj Iyer <manjo@austin.ibm.com> | 2004-09-01 19:55:00 +0000 |
---|---|---|
committer | Manoj Iyer <manjo@austin.ibm.com> | 2004-09-01 19:55:00 +0000 |
commit | 3bdcad15ba585931bd2b6a415c0b82ff36d3e4cc (patch) | |
tree | 94c34729d1b7b2ed0e777aed506467621f70f80f /gdb/testsuite/gdb.gdb/selftest.exp | |
parent | 4fbbbd0782656c03df124a2398b01afbc6d6fa44 (diff) | |
download | gdb-3bdcad15ba585931bd2b6a415c0b82ff36d3e4cc.zip gdb-3bdcad15ba585931bd2b6a415c0b82ff36d3e4cc.tar.gz gdb-3bdcad15ba585931bd2b6a415c0b82ff36d3e4cc.tar.bz2 |
Use new gdb.exp feature to check for nodebug in the executable for testcases under gdb.gdb
Diffstat (limited to 'gdb/testsuite/gdb.gdb/selftest.exp')
-rw-r--r-- | gdb/testsuite/gdb.gdb/selftest.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp index 02ad806..fb559aa 100644 --- a/gdb/testsuite/gdb.gdb/selftest.exp +++ b/gdb/testsuite/gdb.gdb/selftest.exp @@ -247,6 +247,11 @@ proc test_with_self { 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 + } } # disassemble yourself |