gdb.objc/objcdecode.exp test error..

Matt Rice
2009-03-06T01:31:31Z

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

the test is testing the original behaviour which is now 'set
multiple-symbols ask'
rather than the new default behaviour of 'set multiple-symbols all'

this returns the test back to its previous kfail state,
i should probably come up with another test for multiple-symbols all,
so neither failure gets forgotten, but i'll have to learn more about
dejagnu before i'm able to do that.

[-- Attachment #2: foo.diff --]
[-- Type: application/octet-stream, Size: 943 bytes --]

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 50e61ce..7445b87 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-05 Matt Rice <ratmice@gmail.com>
+
+ * gdb.objc/objcdecode.exp: Set the multiple symbols found behaviour
+ to ask.
+
2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>

* solib-display.exp: New file.
diff --git a/gdb/testsuite/gdb.objc/objcdecode.exp b/gdb/testsuite/gdb.objc/objcdecode.exp
index b751fb9..5e83623 100644
--- a/gdb/testsuite/gdb.objc/objcdecode.exp
+++ b/gdb/testsuite/gdb.objc/objcdecode.exp
@@ -60,6 +60,7 @@ do_objc_tests
# Break on multiply defined method (PR objc/1236)
#
set name "break on multiply defined method"
+gdb_test "set multiple-symbols ask" ""
gdb_test_multiple "break multipleDef" $name \
{
-re "\\\[0\\\] cancel\r\n\\\[1\\\] all\r\n\\\[2\\\] -.Decode multipleDef. at .*\r\n\\\[3\\\] multipleDef at .*\r\n> $" {