* lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
authorDaniel Jacobowitz <drow@false.org>
Wed, 16 May 2007 14:21:47 +0000 (14:21 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 16 May 2007 14:21:47 +0000 (14:21 +0000)
commit93f02886fd15eef1d38f073c54031c812e564128
tree1de4fdb193679af5546c9be4f2f12f86149970c1
parent1a69e1e46aabbd453ddb0a6b4f605db4e2686018
* 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.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gdb1555.exp
gdb/testsuite/gdb.base/pending.exp
gdb/testsuite/gdb.base/shlib-call.exp
gdb/testsuite/gdb.base/shreloc.exp
gdb/testsuite/gdb.base/so-impl-ld.exp
gdb/testsuite/gdb.base/solib-weak.exp
gdb/testsuite/gdb.base/unload.exp
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/gdbserver-support.exp