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 require allow_ada_tests
gdb_exit clean_restart
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
# Force the language to Ada, as this will not happen automatically # Force the language to Ada, as this will not happen automatically
# in this case (no test program). # in this case (no test program).

View file

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

View file

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