summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2008-07-17 20:57:26 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2008-07-17 20:57:26 +0000
commit204afeb5c305d15b5a7d80bb065d0ea49171bc69 (patch)
tree95f54e6e47e6a951b6dd3cb73503dbd4f7fcc5f6
parentc9582a69e4ffe492dfa06c35c0fab2c367277b34 (diff)
downloadgdb-204afeb5c305d15b5a7d80bb065d0ea49171bc69.tar.gz
Fix for Linux/VDSO failure.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/foll-fork.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ae84e068e7a..adcadd71431 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
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
2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
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"}