* gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 15 Jul 2011 14:13:00 +0000 (14:13 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 15 Jul 2011 14:13:00 +0000 (14:13 +0000)
remote targets as well.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/type-opaque.exp

index 18ddc59e3ded02f8d420b82e622dc1e18a1f360b..9b6a2a16d3a91fa3798e51f7c29747ebe2b6ea02 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
+       remote targets as well.
+
 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
 
        * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
index d83e9521b19e918cc3268303a5fa613b1f755ca0..8587351f2c46c122ed1e391de4bb41a94bf6c5c1 100644 (file)
@@ -30,12 +30,6 @@ set execsrc "${srcdir}/${subdir}/${srcfile}"
 
 remote_exec build "rm -f ${binfile}"
 
-# Are we on a target board?  No support for downloading shared libraries
-# to a target yet.
-if ![isnative] then {
-    return 0
-}
-
 # get the value of gcc_compiled
 if [get_compiler_info ${binfile}] {
     return -1
@@ -51,6 +45,7 @@ gdb_exit
 gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
+gdb_load_shlibs ${libobj}
 
 if ![runto_main] then {
     fail "Can't run to main"
This page took 0.043564 seconds and 4 git commands to generate.