From: Ulrich Weigand Date: Tue, 11 Oct 2011 19:01:31 +0000 (+0000) Subject: * gdb.python/py-shared.exp: Relax filename check to handle remote: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fac7ceb31e1d0600828e3d1c5729871fe1f10600;p=binutils-gdb.git * gdb.python/py-shared.exp: Relax filename check to handle remote: sysroot. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0e6c4c9bdca..1ccfe080d68 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-10-11 Ulrich Weigand + + * gdb.python/py-shared.exp: Relax filename check to handle remote: + sysroot. + 2011-10-11 Jan Kratochvil Reimplement @entry in input expressions. diff --git a/gdb/testsuite/gdb.python/py-shared.exp b/gdb/testsuite/gdb.python/py-shared.exp index ea28f3b03c8..51e167bd02a 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