Use clean_restart in gdb.ada

Change gdb.ada to use clean_restart more consistently.
This commit is contained in:
Tom Tromey 2023-01-25 10:48:27 -07:00
parent e8d8a0df4b
commit 0ce635282e
3 changed files with 3 additions and 9 deletions

View file

@ -17,9 +17,7 @@ load_lib "ada.exp"
require allow_ada_tests
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
clean_restart
# Force the language to Ada, as this will not happen automatically
# in this case (no test program).

View file

@ -17,9 +17,7 @@ load_lib "ada.exp"
require allow_ada_tests
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
clean_restart
set any_nb "\[0-9\]+"
set any_addr "0x\[0-9a-zA-Z\]+"

View file

@ -15,9 +15,7 @@
require allow_ada_tests
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
clean_restart
gdb_test_no_output "set lang ada" \
"set lang ada"