aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/sepdebug.exp3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 64f2189..73d4ba3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-13 Tristan Gingold <gingold@adacore.com>
+
+ * gdb.base/sepdebug.exp: Check debug info are found.
+
2009-10-08 Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (gdb_compile): Remove dead aix and irix related
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;