Fix gdb.ada/attr_ref_and_charlit.exp typo

... introduced by my last commit:

-gdb_test "print s'last"  " = 3"
+    gdb_test "print s'last"  " = 3Z

gdb/testsuite/ChangeLog
2020-05-11  Keith Seitz  <keiths@redhat.com>

	* gdb.ada/attr_ref_and_charlit.exp: Fix typo.
This commit is contained in:
Keith Seitz
2020-05-11 12:22:25 -07:00
parent 113ee09a64
commit 53f539a3d7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-05-11 Keith Seitz <keiths@redhat.com>
* gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2020-05-11 Tom de Vries <tdevries@suse.de>
* gdb.cp/cpexprs.exp: Move everything except flags setting ...

View File

@ -31,7 +31,7 @@ set bp_location [gdb_get_line_number "BREAK" "${testdir}/foo.adb"]
runto "foo.adb:$bp_location"
with_test_prefix "run" {
gdb_test "print s'first" " = 2"
gdb_test "print s'last" " = 3Z
gdb_test "print s'last" " = 3"
gdb_test "print s(s'first) = 'a'" " = true"
gdb_test "print s(s'last) /= 'b'" " = false"
}