diff options
Diffstat (limited to 'gdb/testsuite/gdb.python/py-shared.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-shared.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-shared.exp b/gdb/testsuite/gdb.python/py-shared.exp index 8673e54..4a0c738 100644 --- a/gdb/testsuite/gdb.python/py-shared.exp +++ b/gdb/testsuite/gdb.python/py-shared.exp @@ -66,3 +66,7 @@ gdb_test "python print (gdb.solib_name(long(func1)))" "py-shared-sl.sl" "test fu gdb_test "p &main" "" "main address" gdb_py_test_silent_cmd "python main = gdb.history(0)" "Aquire main address" 1 gdb_test "python print (gdb.solib_name(long(main)))" "None" "test main solib location" + +if {[is_lp64_target]} { + gdb_test "python print (len(\[gdb.solib_name(0xffffffffffffffff)\]))" "1" +} |