diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-03-28 20:07:12 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-03-28 20:07:12 +0000 |
commit | 20106cfbdb78a987e33d0ebc38946c01be275c26 (patch) | |
tree | 6361bf862cf49f5315a4049b35145b85b3e3d839 /gdb/testsuite/gdb.ada/str_ref_cmp.exp | |
parent | 9cded63fc15053473ec65ac6e2805608e882449d (diff) | |
download | gdb-20106cfbdb78a987e33d0ebc38946c01be275c26.zip gdb-20106cfbdb78a987e33d0ebc38946c01be275c26.tar.gz gdb-20106cfbdb78a987e33d0ebc38946c01be275c26.tar.bz2 |
gdb/testsuite/
* gdb.ada/arrayparam.exp (print first after function call): Use
explicit package name. Add a comment
(print lasta after function call): Rename ...
(print last after function call): ... it and use explicit package
name.
(print length after function call): Use explicit package name.
* gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
* gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
(multiple matches for symbol i): Rename ...
(multiple matches for symbol integervar): ... it.
* gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
* gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.ada/str_ref_cmp.exp')
-rw-r--r-- | gdb/testsuite/gdb.ada/str_ref_cmp.exp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/str_ref_cmp.exp b/gdb/testsuite/gdb.ada/str_ref_cmp.exp index 70acf83..76de844 100644 --- a/gdb/testsuite/gdb.ada/str_ref_cmp.exp +++ b/gdb/testsuite/gdb.ada/str_ref_cmp.exp @@ -34,6 +34,19 @@ clean_restart ${testfile} set bp_location [gdb_get_line_number "START" ${testdir}/foo.adb] runto "foo.adb:$bp_location" +# BINOP_EQUAL incorrectly resolves with system debug info to Ada.Strings.Maps. +set test "operator = works for strings" +gdb_test_multiple {print "a" = "a"} $test { + -re " = false\r\n$gdb_prompt $" { + kfail ada/12607 $test + untested ${testdir}.exp + return 0 + } + -re " = true\r\n$gdb_prompt $" { + pass $test + } +} + # Verify that we can compare a string slice with another string. gdb_test "print String_Var (1 .. 3) = \"Hel\"" \ |