aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-04-28 07:31:29 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-04-28 07:31:29 +0000
commitc7b1f0d9dc1e343565710f900ebd019a1231b56c (patch)
treef4fb1ee90cbb4cbac6665a4136f47ae1c6c3d298 /gdb/testsuite/lib
parent6adc060c888855177318713fc75bbe82156ee169 (diff)
downloadgdb-c7b1f0d9dc1e343565710f900ebd019a1231b56c.zip
gdb-c7b1f0d9dc1e343565710f900ebd019a1231b56c.tar.gz
gdb-c7b1f0d9dc1e343565710f900ebd019a1231b56c.tar.bz2
gdb/testsuite/
* lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept thread and breakpoint notifications.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/mi-support.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index e3f6b03..e225e9f 100644
--- a/gdb/testsuite/lib/mi-support.exp
+++ b/gdb/testsuite/lib/mi-support.exp
@@ -1046,7 +1046,7 @@ proc mi_expect_stop { reason func args file line extra test } {
pass "$test"
return $expect_out(2,string)
}
- -re "\\*stopped,${r}${a}${bn}frame=\{addr=\"$hex\",func=\"$any\",args=\[\\\[\{\]$any\[\\\]\}\],file=\"$any\",fullname=\"${fullname_syntax}$any\",line=\"\[0-9\]*\"\}$after_stopped,thread-id=\"$decimal\",stopped-threads=$any\r\n$prompt_re" {
+ -re "\\*stopped,${r}${a}${bn}frame=\{addr=\"$hex\",func=\"$any\",args=\[\\\[\{\]$any\[\\\]\}\],file=\"$any\",fullname=\"${fullname_syntax}$any\",line=\"\[0-9\]*\"\}$after_stopped,thread-id=\"$decimal\",stopped-threads=$any\r\n($thread_selected_re|$breakpoint_re)*$prompt_re" {
verbose -log "got $expect_out(buffer)"
fail "$test (stopped at wrong place)"
return -1