From 9bf07184c9701a046dbf60ac60f1c22fe323fa93 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Thu, 17 Jul 2008 20:57:26 +0000 Subject: [PATCH] Fix for Linux/VDSO failure. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/foll-fork.exp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ae84e06..adcadd7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 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 2008-07-15 Paul Pluzhnikov diff --git a/gdb/testsuite/gdb.base/foll-fork.exp b/gdb/testsuite/gdb.base/foll-fork.exp index 4b2458f..b946cb3 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"} -- 2.7.4