forked from Imagelibrary/binutils-gdb
2001-11-07 Michael Snyder <msnyder@redhat.com>
* gdb.c++/templates.exp (test_template_breakpoints): If we get an overload menu, but it does not match what we expect, we still need to issue the "cancel" command.
This commit is contained in:
@@ -114,7 +114,11 @@ proc test_template_breakpoints {} {
|
||||
"canceled" \
|
||||
"constructor breakpoint"
|
||||
}
|
||||
-re ".*\n> $" { fail "constructor breakpoint" }
|
||||
-re ".*\n> $" {
|
||||
gdb_test "0" \
|
||||
"nonsense intended to insure that this test fails" \
|
||||
"constructor breakpoint (bad menu choices)"
|
||||
}
|
||||
-re ".*$gdb_prompt $" { fail "constructor breakpoint" }
|
||||
default { fail "constructor breakpoint (timeout)" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user