* gdb.python/py-value.exp: Use clean_restart.

This commit is contained in:
Doug Evans 2012-09-06 17:52:38 +00:00
parent fa8f3997eb
commit d54b30bb5d
2 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2012-09-06 Doug Evans <dje@google.com>
* gdb.python/py-value.exp: Use clean_restart.
2012-09-05 Doug Evans <dje@google.com>
* gdb.base/info-macros.c: Fix whitespace.

View File

@ -367,10 +367,7 @@ proc test_subscript_regression {exefile lang} {
global srcdir subdir
# Start with a fresh gdb.
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${exefile}
clean_restart ${exefile}
if ![runto_main ] then {
perror "couldn't run to breakpoint"
@ -467,10 +464,7 @@ build_inferior "${binfile}-cxx" "c++"
# Start with a fresh gdb.
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
clean_restart ${binfile}
# Skip all tests if Python scripting is not enabled.
if { [skip_python_tests] } { continue }