* gdb.python/py-shared.exp: Relax filename check to handle remote:

sysroot.
This commit is contained in:
Ulrich Weigand 2011-10-11 19:01:31 +00:00
parent 0e8aefe7f0
commit fac7ceb31e
2 changed files with 6 additions and 1 deletions

View 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.

View 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