diff options
author | Doug Evans <dje@google.com> | 2012-09-06 17:52:37 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-09-06 17:52:37 +0000 |
commit | c0aab0d73a30f1c7d1a952cdcc93da56fabff509 (patch) | |
tree | e6c356037cd66ab654ae3882d40239a246a39622 /gdb/testsuite/gdb.python | |
parent | 6ad1958845d3107f289f93a7dd29e3f8b3c9b621 (diff) | |
download | gdb-c0aab0d73a30f1c7d1a952cdcc93da56fabff509.tar.gz |
* gdb.python/py-value.exp: Use clean_restart.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-value.exp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index 87b0734a27e..03dbb2c0717 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 } |