2009-10-12 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 13 Oct 2009 07:57:28 +0000 (07:57 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 13 Oct 2009 07:57:28 +0000 (07:57 +0000)
* gdb.base/sepdebug.exp: Check debug info are found.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/sepdebug.exp

index 64f21898c76188575860779cc3a0393bd9487eff..73d4ba3fa72c35546c0a567ef0397c942593da92 100644 (file)
@@ -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
index 10eb49d78cec61ae65afb768ab4b08a4e824ab31..0962767e1303b006f58e94fd8f2d4f788fed48de 100644 (file)
@@ -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;