From 448835468fbad10d63450d25b9c7cf929fcde842 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Tue, 16 Oct 2012 13:14:36 +0000 Subject: [PATCH] gdb/testsuite/ * 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 | 7 +++++++ gdb/testsuite/gdb.reverse/solib-precsave.exp | 5 ++++- 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 7203ad2822c..671cd8cacc7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2012-10-16 Yao Qi + + * 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 * 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 85384c374fe..2d493baec14 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 d878a7f6220..674dec64fa2 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 -- 2.30.2