* gdb.python/py-shared.exp: Relax filename check to handle remote:
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 11 Oct 2011 19:01:31 +0000 (19:01 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Tue, 11 Oct 2011 19:01:31 +0000 (19:01 +0000)
sysroot.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-shared.exp

index 0e6c4c9bdca75c899a631a2ff7ad8ee7504960e1..1ccfe080d6805720c95b258674a6024f21aa92cc 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.python/py-shared.exp: Relax filename check to handle remote:
+       sysroot.
+
 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Reimplement @entry in input expressions.
index ea28f3b03c8295d80a0dd9d0f9f8b1a13c1786fb..51e167bd02affb7a21f3e32ac48ce9ebc72e0f8a 100644 (file)
@@ -62,7 +62,7 @@ runto [gdb_get_line_number "Break to end."]
 # Test gdb.solib_name
 gdb_test "p &func1" "" "func1 address"
 gdb_py_test_silent_cmd "python func1 = gdb.history(0)" "Aquire func1 address" 1
-gdb_test "python print gdb.solib_name(long(func1))" "gdb/testsuite/gdb.python/py-shared-sl.sl" "test func1 solib location"
+gdb_test "python print gdb.solib_name(long(func1))" "py-shared-sl.sl" "test func1 solib location"
 
 gdb_test "p &main" "" "main address"
 gdb_py_test_silent_cmd "python main = gdb.history(0)" "Aquire main address" 1