diff options
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-finish-breakpoint.exp | 12 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-shared.exp | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp index 5b4160b..81c7bbd 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp @@ -61,7 +61,7 @@ if { [skip_python_tests] } { continue } # clean_restart ${testfile} -gdb_load_shlibs ${lib_sl} +gdb_load_shlib ${lib_sl} if ![runto_main] then { fail "Cannot run to main." @@ -108,7 +108,7 @@ gdb_test "python MyFinishBreakpoint (None, gdb.selected_frame ())" \ # clean_restart ${testfile} -gdb_load_shlibs ${lib_sl} +gdb_load_shlib ${lib_sl} gdb_test "source $python_file" "Python script imported.*" \ "import python scripts" @@ -135,7 +135,7 @@ gdb_test "python print (finishBP.return_value)" "None" "check return value witho # clean_restart ${testfile} -gdb_load_shlibs ${lib_sl} +gdb_load_shlib ${lib_sl} gdb_test "source $python_file" "Python script imported.*" \ "import python scripts" @@ -161,7 +161,7 @@ gdb_test "python print (finishbp.is_valid())" "False.*"\ # clean_restart ${testfile} -gdb_load_shlibs ${lib_sl} +gdb_load_shlib ${lib_sl} gdb_test "source $python_file" "Python script imported.*" \ "import python scripts" @@ -187,7 +187,7 @@ gdb_test "print i" "8" "check stopped location" # clean_restart ${testfile} -gdb_load_shlibs ${lib_sl} +gdb_load_shlib ${lib_sl} gdb_test "source $python_file" "Python script imported.*" \ "import python scripts" @@ -214,7 +214,7 @@ gdb_test "print i" "8" "check stopped location" # clean_restart ${testfile} -gdb_load_shlibs ${lib_sl} +gdb_load_shlib ${lib_sl} gdb_test "source $python_file" "Python script imported.*" \ "import python scripts" diff --git a/gdb/testsuite/gdb.python/py-shared.exp b/gdb/testsuite/gdb.python/py-shared.exp index 16375ed..8673e54 100644 --- a/gdb/testsuite/gdb.python/py-shared.exp +++ b/gdb/testsuite/gdb.python/py-shared.exp @@ -41,7 +41,7 @@ if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opt # Start with a fresh gdb. clean_restart $testfile -gdb_load_shlibs ${library} +gdb_load_shlib ${library} # Skip all tests if Python scripting is not enabled. if { [skip_python_tests] } { continue } |