diff options
author | Yao Qi <yao@codesourcery.com> | 2012-10-16 13:14:36 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-10-16 13:14:36 +0000 |
commit | 448835468fbad10d63450d25b9c7cf929fcde842 (patch) | |
tree | 78627f3b1f631dfd40c6030e0a26387e39198206 /gdb | |
parent | 6235cdd10c1e90d69ca7faf417e06bd5cc796f2c (diff) | |
download | gdb-448835468fbad10d63450d25b9c7cf929fcde842.zip gdb-448835468fbad10d63450d25b9c7cf929fcde842.tar.gz gdb-448835468fbad10d63450d25b9c7cf929fcde842.tar.bz2 |
gdb/testsuite/
* gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
returns true.
Call gdb_load_shlibs.
* gdb.reverse/solib-reverse.exp: Likewise.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.reverse/solib-precsave.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.reverse/solib-reverse.exp | 5 |
3 files changed, 15 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7203ad2..671cd8c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.reverse/solib-precsave.exp b/gdb/testsuite/gdb.reverse/solib-precsave.exp index 85384c3..2d493ba 100644 --- a/gdb/testsuite/gdb.reverse/solib-precsave.exp +++ b/gdb/testsuite/gdb.reverse/solib-precsave.exp @@ -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 diff --git a/gdb/testsuite/gdb.reverse/solib-reverse.exp b/gdb/testsuite/gdb.reverse/solib-reverse.exp index d878a7f..674dec6 100644 --- a/gdb/testsuite/gdb.reverse/solib-reverse.exp +++ b/gdb/testsuite/gdb.reverse/solib-reverse.exp @@ -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 |