From: Tom Tromey Date: Tue, 19 May 2020 19:41:03 +0000 (-0600) Subject: Restore missing Rust test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76571211fe65c4942f3ce4e04115a0396cd2522c;p=binutils-gdb.git 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. --- 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\\\] \\{"