[commit] Remote testing bug in py-shared.exp

Ulrich Weigand uweigand@de.ibm.com
Fri Jul 22 17:58:00 GMT 2011


Hello,

remote testing the Python tests uncovered another minor bug:
py-shared.exp does not copy the shared library to the target.

Fixed by calling gdb_load_shlibs as usual.

Tested on arm-linux-gnueabi.
Committed to mainline.

Bye,
Ulrich


ChangeLog:

	* gdb.python/py-shared.exp: Call gdb_load_shlibs.

Index: gdb/testsuite/gdb.python/py-shared.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.python/py-shared.exp,v
retrieving revision 1.3
diff -u -p -r1.3 py-shared.exp
--- gdb/testsuite/gdb.python/py-shared.exp	1 Jan 2011 15:33:49 -0000	1.3
+++ gdb/testsuite/gdb.python/py-shared.exp	22 Jul 2011 17:34:25 -0000
@@ -45,6 +45,7 @@ gdb_exit
 gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
+gdb_load_shlibs ${library}
 
 # Skip all tests if Python scripting is not enabled.
 if { [skip_python_tests] } { continue }
-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list