Use clean_restart in gdb.python
authorTom Tromey <tom@tromey.com>
Wed, 25 Jan 2023 21:48:55 +0000 (14:48 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 27 Jan 2023 01:28:32 +0000 (18:28 -0700)
commit9b2234b063eb8e08be1fccc7d830fb7065cd06ae
tree0dafe1b0bbdbb22754604a48c225ba26f439ec28
parente125b182783d729a9a29f6389a7661366a8dbd14
Use clean_restart in gdb.python

Change gdb.python to use clean_restart more consistently.
gdb/testsuite/gdb.python/py-format-string.exp
gdb/testsuite/gdb.python/py-function.exp
gdb/testsuite/gdb.python/py-lookup-type.exp
gdb/testsuite/gdb.python/py-prettyprint.exp
gdb/testsuite/gdb.python/py-progspace.exp
gdb/testsuite/gdb.python/py-section-script.exp
gdb/testsuite/gdb.python/py-template.exp
gdb/testsuite/gdb.python/py-type.exp
gdb/testsuite/gdb.python/python.exp