aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/so-impl-ld.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-05-16 14:21:47 +0000
committerDaniel Jacobowitz <drow@false.org>2007-05-16 14:21:47 +0000
commit93f02886fd15eef1d38f073c54031c812e564128 (patch)
tree1de4fdb193679af5546c9be4f2f12f86149970c1 /gdb/testsuite/gdb.base/so-impl-ld.exp
parent1a69e1e46aabbd453ddb0a6b4f605db4e2686018 (diff)
downloadgdb-93f02886fd15eef1d38f073c54031c812e564128.zip
gdb-93f02886fd15eef1d38f073c54031c812e564128.tar.gz
gdb-93f02886fd15eef1d38f073c54031c812e564128.tar.bz2
* lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
(gdb_compile_shlib): Likewise. (skip_shlib_tests, gdb_download, gdb_load_shlibs): New. (default_gdb_init): Clear cleanfiles. (gdb_finish): Delete recorded cleanfiles. * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download. * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs. Do not use isnative. * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp, gdb.base/so-impl-ld.exp: Likewise. * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets. * gdb.base/unload.exp: Likewise. Do not pass empty option to gdb_compile.
Diffstat (limited to 'gdb/testsuite/gdb.base/so-impl-ld.exp')
-rw-r--r--gdb/testsuite/gdb.base/so-impl-ld.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/so-impl-ld.exp b/gdb/testsuite/gdb.base/so-impl-ld.exp
index cb0691b..1d1a05e 100644
--- a/gdb/testsuite/gdb.base/so-impl-ld.exp
+++ b/gdb/testsuite/gdb.base/so-impl-ld.exp
@@ -22,9 +22,8 @@ if $tracelevel then {
set prms_id 0
set bug_id 0
-# are we on a target board
-if ![isnative] then {
- return
+if {[skip_shlib_tests]} {
+ return 0
}
set testfile "so-impl-ld"
@@ -61,6 +60,7 @@ gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
+gdb_load_shlibs $lib_sl
# This program implicitly loads SOM shared libraries.
#