From 9b2234b063eb8e08be1fccc7d830fb7065cd06ae Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 25 Jan 2023 14:48:55 -0700 Subject: Use clean_restart in gdb.python Change gdb.python to use clean_restart more consistently. --- gdb/testsuite/gdb.python/python.exp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/testsuite/gdb.python/python.exp') 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] -- cgit v1.1