diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-25 14:48:55 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-26 18:28:32 -0700 |
commit | 9b2234b063eb8e08be1fccc7d830fb7065cd06ae (patch) | |
tree | 0dafe1b0bbdbb22754604a48c225ba26f439ec28 /gdb/testsuite/gdb.python/python.exp | |
parent | e125b182783d729a9a29f6389a7661366a8dbd14 (diff) | |
download | binutils-9b2234b063eb8e08be1fccc7d830fb7065cd06ae.zip binutils-9b2234b063eb8e08be1fccc7d830fb7065cd06ae.tar.gz binutils-9b2234b063eb8e08be1fccc7d830fb7065cd06ae.tar.bz2 |
Use clean_restart in gdb.python
Change gdb.python to use clean_restart more consistently.
Diffstat (limited to 'gdb/testsuite/gdb.python/python.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/python.exp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp index b8a4718..8fe119f 100644 --- a/gdb/testsuite/gdb.python/python.exp +++ b/gdb/testsuite/gdb.python/python.exp @@ -25,10 +25,7 @@ if {[build_executable $testfile.exp $testfile \ return -1 } -# Start with a fresh gdb. -gdb_exit -gdb_start -gdb_reinitialize_dir $srcdir/$subdir +clean_restart set remote_source2_py [gdb_remote_download host \ ${srcdir}/${subdir}/source2.py] |