From: Paul Pluzhnikov Date: Thu, 17 Jul 2008 20:57:26 +0000 (+0000) Subject: Fix for Linux/VDSO failure. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bf07184c9701a046dbf60ac60f1c22fe323fa93;p=binutils-gdb.git Fix for Linux/VDSO failure. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ae84e068e7a..adcadd71431 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-07-17 Paul Pluzhnikov + + * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure. + 2008-07-17 Paul Pluzhnikov * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp diff --git a/gdb/testsuite/gdb.base/foll-fork.exp b/gdb/testsuite/gdb.base/foll-fork.exp index 4b2458f2c8c..b946cb3880a 100644 --- a/gdb/testsuite/gdb.base/foll-fork.exp +++ b/gdb/testsuite/gdb.base/foll-fork.exp @@ -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"}