Fix race in gdb.python/py-evthreads.exp

This commit is contained in:
Marek Polacek 2011-07-06 15:00:15 +00:00
parent 74f2665384
commit 8f7ae68682
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-07-06 Marek Polacek <mpolacek@redhat.com>
* gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
the whole output.
2011-07-05 Tom Tromey <tromey@redhat.com>
* gdb.java/jprint.java (jprint.hi): New field.

View file

@ -86,7 +86,7 @@ gdb_expect {
send_gdb "continue&\n"
gdb_expect {
-re ".*event type: continue.*
.*thread num: 1.*" {
.*thread num: 1.*\r\n$gdb_prompt " {
pass "continue thread 1"
}
timeout {