Fix a racy FAIL.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 14 Mar 2009 14:25:55 +0000 (14:25 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 14 Mar 2009 14:25:55 +0000 (14:25 +0000)
commitcb4dce936edb93a35d5f39e09d6292be6e7ddcb9
tree56fcec516b43b16929b294636ab0f37bbca784dc
parent9435f5b623b316c0a47aae946da0ddd84da15bb5
Fix a racy FAIL.
* gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
code from `follow parent, print pids'.
(`follow child, print pids', `follow parent, print pids'): Call it.
Replace `gdb_test "break..."' by gdb_breakpoint.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/multi-forks.exp