diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-value.exp | 10 |
2 files changed, 6 insertions, 8 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index da7b1c7..cf32a20 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index 87b0734..03dbb2c 100644 --- a/gdb/testsuite/gdb.python/py-value.exp +++ b/gdb/testsuite/gdb.python/py-value.exp @@ -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 } |