From 76571211fe65c4942f3ce4e04115a0396cd2522c Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 19 May 2020 13:41:03 -0600 Subject: [PATCH] Restore missing Rust test An earlier patch inadvertently broke a Rust test. This restores it. gdb/testsuite/ChangeLog 2020-05-19 Tom Tromey * gdb.rust/simple.exp: Restore missing test result. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.rust/simple.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f99a4a1a92d..932c3801437 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-05-19 Tom Tromey + + * gdb.rust/simple.exp: Restore missing test result. + 2020-05-19 Tom de Vries * gdb.base/gdb-caching-proc.exp: Fix typo. diff --git a/gdb/testsuite/gdb.rust/simple.exp b/gdb/testsuite/gdb.rust/simple.exp index 2653170df31..f0cad4e7634 100644 --- a/gdb/testsuite/gdb.rust/simple.exp +++ b/gdb/testsuite/gdb.rust/simple.exp @@ -88,7 +88,7 @@ gdb_test "print w\[2\] @ 2" " = \\\[3, 4\\\]" gdb_test "print w_ptr\[2\]" " = 3" gdb_test "print fromslice" " = 3" gdb_test "print slice\[0\]" " = 3" -gdb_test "print slice as &\[i32\]\[0\]" +gdb_test "print slice as &\[i32\]\[0\]" " = 3" gdb_test_sequence "ptype slice" "" { " = struct &\\\[i32\\\] \\{" -- 2.30.2