aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/nested.exp
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-01-06 10:35:00 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-01-06 10:35:00 +0000
commit09050809a4d0bf939a31850595cda0e50750015b (patch)
tree8c0041bffa70a83722e99b38b2050f71c5a956db /gdb/testsuite/gdb.ada/nested.exp
parent8ed5dd9e5e058d79413a6b95baa9daac58fa0396 (diff)
downloadgdb-09050809a4d0bf939a31850595cda0e50750015b.zip
gdb-09050809a4d0bf939a31850595cda0e50750015b.tar.gz
gdb-09050809a4d0bf939a31850595cda0e50750015b.tar.bz2
[testsuite/gdb.ada] simplify some testcases by using clean_restart.
gdb/testsuite/ChangeLog: * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp, gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp, gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp, gdb.ada/catch_ex.exp, gdb.ada/char_param.exp, gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp, gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp, gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp, gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp, gdb.ada/homonym.exp, gdb.ada/int_deref.exp, gdb.ada/interface.exp, gdb.ada/lang_switch.exp, gdb.ada/mod_from_name.exp, gdb.ada/nested.exp, gdb.ada/null_array.exp, gdb.ada/null_record.exp, gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp, gdb.ada/print_chars.exp, gdb.ada/print_pc.exp, gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp, gdb.ada/rec_return.exp, gdb.ada/ref_param.exp, gdb.ada/ref_tick_size.exp, gdb.ada/start.exp, gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp, gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp, gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp, gdb.ada/uninitialized_vars.exp, gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp: Simplify by using clean_restart.
Diffstat (limited to 'gdb/testsuite/gdb.ada/nested.exp')
-rw-r--r--gdb/testsuite/gdb.ada/nested.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.ada/nested.exp b/gdb/testsuite/gdb.ada/nested.exp
index 8c70fa0..aa182cf 100644
--- a/gdb/testsuite/gdb.ada/nested.exp
+++ b/gdb/testsuite/gdb.ada/nested.exp
@@ -29,10 +29,7 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" }
return -1
}
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
+clean_restart ${testfile}
set any_nb "\[0-9\]+"
set any_addr "0x\[0-9a-zA-Z\]+"