Use clean_restart in gdb.dlang

Change gdb.dlang to use clean_restart more consistently.
This commit is contained in:
Tom Tromey
2023-01-25 09:26:53 -07:00
parent 6b9276b7e6
commit 9b21b701bb
4 changed files with 4 additions and 16 deletions

View File

@ -127,10 +127,7 @@ proc test_d_expressions {} {
gdb_test "print \[1, 2\] ~ \[2, 3\]" " = \\\{1, 2, 2, 3\\\}"
}
# Start with a fresh gdb.
gdb_exit
gdb_start
clean_restart
if [set_lang_d] {
test_d_integer_literals