aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/arrayidx.exp
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-09-10 17:11:11 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-09-10 17:11:11 +0000
commitb6db24e54972d0345d708ea0ec3d108f9a147f52 (patch)
treeb61af5a7fa14d4ae18d05546ce42538efcfb8155 /gdb/testsuite/gdb.ada/arrayidx.exp
parent2bf448e0dcc2bd35ebb44382c15b6a902cdb08c9 (diff)
downloadgdb-b6db24e54972d0345d708ea0ec3d108f9a147f52.zip
gdb-b6db24e54972d0345d708ea0ec3d108f9a147f52.tar.gz
gdb-b6db24e54972d0345d708ea0ec3d108f9a147f52.tar.bz2
* gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp, gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp, gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp, gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp, gdb.ada/funcall_param.exp, gdb.ada/homonym.exp, gdb.ada/interface.exp, gdb.ada/null_array.exp, gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp, gdb.ada/print_chars.exp, gdb.ada/print_pc.exp, gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp, gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp: Include the "= " sequence in the expected output of print tests.
Diffstat (limited to 'gdb/testsuite/gdb.ada/arrayidx.exp')
-rw-r--r--gdb/testsuite/gdb.ada/arrayidx.exp32
1 files changed, 16 insertions, 16 deletions
diff --git a/gdb/testsuite/gdb.ada/arrayidx.exp b/gdb/testsuite/gdb.ada/arrayidx.exp
index 35bf239..e582743 100644
--- a/gdb/testsuite/gdb.ada/arrayidx.exp
+++ b/gdb/testsuite/gdb.ada/arrayidx.exp
@@ -44,35 +44,35 @@ gdb_test "set print array-indexes off" \
"set print array-indexes to off"
gdb_test "print one_two_three" \
- "\\(1, 2, 3\\)" \
+ "= \\(1, 2, 3\\)" \
"print one_two_three, indexes off"
gdb_test "print e_one_two_three" \
- "\\(1, 2, 3\\)" \
+ "= \\(1, 2, 3\\)" \
"print e_one_two_three, indexes off"
gdb_test "print r_two_three" \
- "\\(two => 2, 3\\)" \
+ "= \\(two => 2, 3\\)" \
"print r_two_three, indexes off"
gdb_test "print u_one_two_three" \
- "\\(1, 2, 3\\)" \
+ "= \\(1, 2, 3\\)" \
"print u_one_two_three, indexes off"
gdb_test "print p_one_two_three" \
- "\\(0 => false, true, true\\)" \
+ "= \\(0 => false, true, true\\)" \
"print p_one_two_three, indexes off"
gdb_test "print few_reps" \
- "\\(1, 2, 3, 3, 3, 3, 3, 4, 5\\)" \
+ "= \\(1, 2, 3, 3, 3, 3, 3, 4, 5\\)" \
"print few_reps, indexes off"
gdb_test "print many_reps" \
- "\\(1, 2, 3 <repeats 12 times>, 4, 5\\)" \
+ "= \\(1, 2, 3 <repeats 12 times>, 4, 5\\)" \
"print many_reps, indexes off"
gdb_test "print empty" \
- "\\(\\)" \
+ "= \\(\\)" \
"print empty, indexes off"
# Next, print all the arrays with the indexes
@@ -82,35 +82,35 @@ gdb_test "set print array-indexes on" \
"set print array-indexes to on"
gdb_test "print one_two_three" \
- "\\(1 => 1, 2 => 2, 3 => 3\\)" \
+ "= \\(1 => 1, 2 => 2, 3 => 3\\)" \
"print one_two_three"
gdb_test "print e_one_two_three" \
- "\\(one => 1, two => 2, three => 3\\)" \
+ "= \\(one => 1, two => 2, three => 3\\)" \
"print e_one_two_three"
gdb_test "print r_two_three" \
- "\\(two => 2, three => 3\\)" \
+ "= \\(two => 2, three => 3\\)" \
"print r_two_three"
gdb_test "print u_one_two_three" \
- "\\(1 => 1, 2 => 2, 3 => 3\\)" \
+ "= \\(1 => 1, 2 => 2, 3 => 3\\)" \
"print u_one_two_three"
gdb_test "print p_one_two_three" \
- "\\(0 => false, 1 => true, 2 => true\\)" \
+ "= \\(0 => false, 1 => true, 2 => true\\)" \
"print p_one_two_three"
gdb_test "print few_reps" \
- "\\(1 => 1, 2 => 2, 3 => 3, 4 => 3, 5 => 3, 6 => 3, 7 => 3, 8 => 4, 9 => 5\\)" \
+ "= \\(1 => 1, 2 => 2, 3 => 3, 4 => 3, 5 => 3, 6 => 3, 7 => 3, 8 => 4, 9 => 5\\)" \
"print few_reps"
gdb_test "print many_reps" \
- "\\(1 => 1, 2 => 2, 3 => 3 <repeats 12 times>, 15 => 4, 16 => 5\\)" \
+ "= \\(1 => 1, 2 => 2, 3 => 3 <repeats 12 times>, 15 => 4, 16 => 5\\)" \
"print many_reps"
gdb_test "print empty" \
- "\\(\\)" \
+ "= \\(\\)" \
"print empty"