diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-25 10:48:27 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-26 18:28:32 -0700 |
commit | 0ce635282edde8281d84cec08657dfb00cb42586 (patch) | |
tree | c2d8f89fe8e047a583b37bf3f532d358457433a3 | |
parent | e8d8a0df4b35509c5fc051f1ff84b872f7f1bac0 (diff) | |
download | binutils-0ce635282edde8281d84cec08657dfb00cb42586.zip binutils-0ce635282edde8281d84cec08657dfb00cb42586.tar.gz binutils-0ce635282edde8281d84cec08657dfb00cb42586.tar.bz2 |
Use clean_restart in gdb.ada
Change gdb.ada to use clean_restart more consistently.
-rw-r--r-- | gdb/testsuite/gdb.ada/assign_1.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/boolean_expr.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/ptype_arith_binop.exp | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/gdb/testsuite/gdb.ada/assign_1.exp b/gdb/testsuite/gdb.ada/assign_1.exp index 88ba9a5..d5d8128 100644 --- a/gdb/testsuite/gdb.ada/assign_1.exp +++ b/gdb/testsuite/gdb.ada/assign_1.exp @@ -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). diff --git a/gdb/testsuite/gdb.ada/boolean_expr.exp b/gdb/testsuite/gdb.ada/boolean_expr.exp index c3b854f..fda5da1 100644 --- a/gdb/testsuite/gdb.ada/boolean_expr.exp +++ b/gdb/testsuite/gdb.ada/boolean_expr.exp @@ -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\]+" diff --git a/gdb/testsuite/gdb.ada/ptype_arith_binop.exp b/gdb/testsuite/gdb.ada/ptype_arith_binop.exp index 19b85bf..bdfd5f0 100644 --- a/gdb/testsuite/gdb.ada/ptype_arith_binop.exp +++ b/gdb/testsuite/gdb.ada/ptype_arith_binop.exp @@ -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" |