gdb/testsuite/

* gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
	returns true.
	Call gdb_load_shlibs.
	* gdb.reverse/solib-reverse.exp: Likewise.
This commit is contained in:
Yao Qi 2012-10-16 13:14:36 +00:00
parent 6235cdd10c
commit 448835468f
3 changed files with 15 additions and 2 deletions

View 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

View 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

View 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