summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/ovldbreak.exp
diff options
context:
space:
mode:
authorLuis Machado <lgustavo@codesourcery.com>2016-12-02 11:37:57 -0600
committerLuis Machado <lgustavo@codesourcery.com>2016-12-02 11:37:57 -0600
commit008459ea88ad4fdcb7da37dad7f68888ef6ecc47 (patch)
treef43ce8958c2975df3f2622655ce0627e3db0385c /gdb/testsuite/gdb.cp/ovldbreak.exp
parent531336e3a0b79ed60cfc36ad2d6579b6a71175da (diff)
downloadbinutils-gdb-008459ea88ad4fdcb7da37dad7f68888ef6ecc47.tar.gz
Revert change to gdb.cp/ovldbreak.exp
This reverts the timeout handling (removed by 018572b88885ae67d22612937fa1e4fd98d5f5ad) for gdb.cp/ovldbreak.exp until we decide what to do about this particular function. gdb/testsuite/ChangeLog: 2016-12-02 Luis Machado <lgustavo@codesourcery.com> * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore timeout handling.
Diffstat (limited to 'gdb/testsuite/gdb.cp/ovldbreak.exp')
-rw-r--r--gdb/testsuite/gdb.cp/ovldbreak.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/ovldbreak.exp b/gdb/testsuite/gdb.cp/ovldbreak.exp
index b6c5efd7cc2..2c1ff6c9908 100644
--- a/gdb/testsuite/gdb.cp/ovldbreak.exp
+++ b/gdb/testsuite/gdb.cp/ovldbreak.exp
@@ -58,6 +58,10 @@ proc take_gdb_out_of_choice_menu {} {
gdb_test_multiple " " " " {
-re ".*$gdb_prompt $" {
}
+ timeout {
+ perror "could not resynchronize to command prompt (timeout)"
+ continue
+ }
}
}