aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-10-11 19:01:31 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2011-10-11 19:01:31 +0000
commitfac7ceb31e1d0600828e3d1c5729871fe1f10600 (patch)
treefd01d5eeb3f3919bea3cb0c84dfa67d6bcb2ed87 /gdb/testsuite/gdb.python
parent0e8aefe7f01abedbb2e011e8b451ac6cfbc61ffe (diff)
downloadgdb-fac7ceb31e1d0600828e3d1c5729871fe1f10600.zip
gdb-fac7ceb31e1d0600828e3d1c5729871fe1f10600.tar.gz
gdb-fac7ceb31e1d0600828e3d1c5729871fe1f10600.tar.bz2
* gdb.python/py-shared.exp: Relax filename check to handle remote:
sysroot.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/py-shared.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-shared.exp b/gdb/testsuite/gdb.python/py-shared.exp
index ea28f3b..51e167b 100644
--- a/gdb/testsuite/gdb.python/py-shared.exp
+++ b/gdb/testsuite/gdb.python/py-shared.exp
@@ -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