aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.objc
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2003-12-02 16:57:16 +0000
committerMichael Chastain <mec@google.com>2003-12-02 16:57:16 +0000
commitd8e1cdeed9ec88567374ae9b32132e7c70d353ca (patch)
treeed07710f3676a35f072cbbf84fc32d713c4ac193 /gdb/testsuite/gdb.objc
parent188dd5d64fcfd149e6c9b27e8f39002a8e1a9632 (diff)
downloadgdb-d8e1cdeed9ec88567374ae9b32132e7c70d353ca.zip
gdb-d8e1cdeed9ec88567374ae9b32132e7c70d353ca.tar.gz
gdb-d8e1cdeed9ec88567374ae9b32132e7c70d353ca.tar.bz2
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/nondebug.exp: Match and KFAIL the output that comes from current versions of gdb. Clean up regular expressions. Delete redundant timeout case.
Diffstat (limited to 'gdb/testsuite/gdb.objc')
-rw-r--r--gdb/testsuite/gdb.objc/nondebug.exp9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.objc/nondebug.exp b/gdb/testsuite/gdb.objc/nondebug.exp
index af9add3..9c7a744 100644
--- a/gdb/testsuite/gdb.objc/nondebug.exp
+++ b/gdb/testsuite/gdb.objc/nondebug.exp
@@ -63,12 +63,15 @@ do_objc_tests
set name "break on non-debuggable method"
gdb_test_multiple "break someMethod" $name \
{
- -re "\\\[0\\\] cancel.*\\\[1\\\] all.*\\\[2\\\]\[ \]+-.NonDebug someMethod.*\\\[3\\\]\[ \]+-.NonDebug2 someMethod.*" {
+ -re "\\\[0\\\] cancel\r\n\\\[1\\\] all\r\n\\\[2\\\]\[ \]+-.NonDebug someMethod.*\\\[3\\\]\[ \]+-.NonDebug2 someMethod.*" {
send_gdb "2\n"
exp_continue
}
- -re "Breakpoint \[0-9\]+ at 0x\[0-9a-f\]+.*" { pass $name }
+ -re "\\\[0\\\] cancel\r\n\\\[1\\\] all\r\n> " {
+ gdb_test "0" "" ""
+ kfail "gdb/1236" $name
+ }
+ -re "Breakpoint \[0-9\]+ at 0x\[0-9a-f\]+.*$gdb_prompt $" { pass $name }
-re ".*$gdb_prompt $" { kfail "gdb/1236" $name }
- timeout { fail "$name (timeout)" }
}