Fix for Linux/VDSO failure.

This commit is contained in:
Paul Pluzhnikov 2008-07-17 20:57:26 +00:00
parent 7c6467a4fb
commit 9bf07184c9
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp

View File

@ -170,7 +170,7 @@ proc catch_fork_child_follow {} {
send_gdb "continue\n"
gdb_expect {
-re "Catchpoint.*(forked process.*),.*in .*fork.*$gdb_prompt $"\
-re "Catchpoint.*(forked process.*),.*in .*(fork|__kernel_vsyscall).*$gdb_prompt $"\
{pass "explicit child follow, catch fork"}
-re "$gdb_prompt $" {fail "explicit child follow, catch fork"}
timeout {fail "(timeout) explicit child follow, catch fork"}
@ -243,7 +243,7 @@ proc tcatch_fork_parent_follow {} {
send_gdb "continue\n"
gdb_expect {
-re ".*in .*fork.*$gdb_prompt $"\
-re ".*in .*(fork|__kernel_vsyscall).*$gdb_prompt $"\
{pass "explicit parent follow, tcatch fork"}
-re "$gdb_prompt $" {fail "explicit parent follow, tcatch fork"}
timeout {fail "(timeout) explicit parent follow, tcatch fork"}