From: Jan Kratochvil Date: Thu, 28 Apr 2011 07:31:29 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7b1f0d9dc1e343565710f900ebd019a1231b56c;p=binutils-gdb.git gdb/testsuite/ * lib/mi-support.exp (mi_expect_stop) : Accept thread and breakpoint notifications. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 47ccf633b4e..c565e408597 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-04-28 Jan Kratochvil + + * lib/mi-support.exp (mi_expect_stop) : Accept + thread and breakpoint notifications. + 2011-04-27 Jan Kratochvil * gdb.base/fortran-sym-case.c: New file. diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index e3f6b03924a..e225e9fae23 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