aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/sepdebug.exp
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-10-13 07:57:28 +0000
committerTristan Gingold <gingold@adacore.com>2009-10-13 07:57:28 +0000
commit279017b761dcda4b0e94e6c91676afb091c85cbc (patch)
tree0fa38ddc46ae3539b066c415db17f40ae84ac6e1 /gdb/testsuite/gdb.base/sepdebug.exp
parente361b228f21dbaaacbeb3b0813ec57d0d6b6cb94 (diff)
downloadgdb-279017b761dcda4b0e94e6c91676afb091c85cbc.zip
gdb-279017b761dcda4b0e94e6c91676afb091c85cbc.tar.gz
gdb-279017b761dcda4b0e94e6c91676afb091c85cbc.tar.bz2
2009-10-12 Tristan Gingold <gingold@adacore.com>
* gdb.base/sepdebug.exp: Check debug info are found.
Diffstat (limited to 'gdb/testsuite/gdb.base/sepdebug.exp')
-rw-r--r--gdb/testsuite/gdb.base/sepdebug.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/sepdebug.exp b/gdb/testsuite/gdb.base/sepdebug.exp
index 10eb49d..0962767 100644
--- a/gdb/testsuite/gdb.base/sepdebug.exp
+++ b/gdb/testsuite/gdb.base/sepdebug.exp
@@ -61,6 +61,9 @@ gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
+if { $gdb_file_cmd_debug_info != "debug" } then {
+ fail "No debug information found."
+}
if [target_info exists gdb_stub] {
gdb_step_for_stub;