diff options
author | Pedro Alves <palves@redhat.com> | 2010-03-12 19:17:01 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-03-12 19:17:01 +0000 |
commit | 759f0f0b7b0ca3e620e3dea8e69979739fb9536f (patch) | |
tree | 844ee111811bb3b7ce0dd7d9b3e4a5f3a4b06f8b /gdb/testsuite/gdb.base/solib-disc.exp | |
parent | c942923237c7ae29a0d1766383cb747b2a34b7ad (diff) | |
download | fsf-binutils-gdb-759f0f0b7b0ca3e620e3dea8e69979739fb9536f.zip fsf-binutils-gdb-759f0f0b7b0ca3e620e3dea8e69979739fb9536f.tar.gz fsf-binutils-gdb-759f0f0b7b0ca3e620e3dea8e69979739fb9536f.tar.bz2 |
gdb/testsuite/
* lib/gdb.exp (skip_stl_tests): New.
(gdb_compile): Symbian needs -ldl.
(shlib_target_file): New.
(shlib_symbol_file): New.
(gdb_load_shlibs): Use shlib_target_file.
* lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
* gdb.cp/exception.exp: Use skip_stl_tests.
* gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
* gdb.cp/try_catch.exp: Use skip_stl_tests.
* gdb.cp/mb-templates.exp: Ditto.
* gdb.base/commands.exp: Relax regexes.
* gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
shlib_target_file and shlib_symbol_file.
* gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
sections.
* gdb.base/ending-run.exp: Accept E32Main for symbian.
* gdb.base/solib-disc.exp: Use
shlib_target_file and shlib_symbol_file.
* gdb.base/unload.exp: Don't skip on symbian. Use
shlib_target_file and shlib_symbol_file.
* gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
Diffstat (limited to 'gdb/testsuite/gdb.base/solib-disc.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/solib-disc.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/solib-disc.exp b/gdb/testsuite/gdb.base/solib-disc.exp index 552cd07..e6fdbe9 100644 --- a/gdb/testsuite/gdb.base/solib-disc.exp +++ b/gdb/testsuite/gdb.base/solib-disc.exp @@ -32,6 +32,8 @@ set libsrc "${srcdir}/${subdir}/${libfile}.c" set libname "${libfile}.so" set libobj "${objdir}/${subdir}/${libname}" set execsrc "${srcdir}/${subdir}/${srcfile}" +set lib_dlopen [shlib_target_file ${libname}] +set lib_syms [shlib_symbol_file ${libname}] remote_exec build "rm -f ${binfile}" @@ -39,7 +41,7 @@ if [get_compiler_info ${binfile}] { return -1 } -set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME\=\"${libname}\"] +set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME\=\"${lib_dlopen}\"] if { [gdb_compile_shlib $libsrc $libobj {debug}] != "" || [gdb_compile $execsrc ${binfile} executable $exec_opts] != "" } { |