gdb/testsuite/
authorYao Qi <yao@codesourcery.com>
Tue, 16 Oct 2012 13:14:36 +0000 (13:14 +0000)
committerYao Qi <yao@codesourcery.com>
Tue, 16 Oct 2012 13:14:36 +0000 (13:14 +0000)
* gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
returns true.
Call gdb_load_shlibs.
* gdb.reverse/solib-reverse.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.reverse/solib-precsave.exp
gdb/testsuite/gdb.reverse/solib-reverse.exp

index 7203ad2822c3ffc901458369996707088ca1e3c0..671cd8cacc7b574bca55a453fd6b2be733b493fc 100644 (file)
@@ -1,3 +1,10 @@
+2012-10-16  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
+       returns true.
+       Call gdb_load_shlibs.
+       * gdb.reverse/solib-reverse.exp: Likewise.
+
 2012-10-15  Keith Seitz  <keiths@redhat.com>
 
        * lib/cp-support.exp (cp_test_ptype_class): Add support
index 85384c374fe43bcedc279cc050c94b4747ff2b3f..2d493baec14616d5159ca9d4a61014ef90bde608 100644 (file)
@@ -20,6 +20,9 @@
 if ![supports_process_record] {
     return
 }
+if {[skip_shlib_tests]} {
+    return
+}
 
 standard_testfile solib-reverse.c
 set precsave [standard_output_file solib.precsave]
@@ -59,7 +62,7 @@ gdb_test_no_output "set debug-file-directory"
 
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
-
+gdb_load_shlibs $library
 
 runto main
 
index d878a7f6220c2dcbc096c539e34227105e6742a8..674dec64fa2d1c5d89da515254b48ebda77b1dea 100644 (file)
@@ -19,6 +19,9 @@
 if ![supports_reverse] {
     return
 }
+if {[skip_shlib_tests]} {
+    return
+}
 
 standard_testfile
 set libfile  "shr2"
@@ -51,7 +54,7 @@ gdb_test_no_output "set debug-file-directory"
 
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
-
+gdb_load_shlibs $library
 
 runto main