aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
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
commit9bf07184c9701a046dbf60ac60f1c22fe323fa93 (patch)
treefab475ac91eef2f1f40dbd88e54395714f614c93 /gdb/testsuite
parent7c6467a4fb67c04f23f44969a4705f99809501e3 (diff)
downloadgdb-9bf07184c9701a046dbf60ac60f1c22fe323fa93.zip
gdb-9bf07184c9701a046dbf60ac60f1c22fe323fa93.tar.gz
gdb-9bf07184c9701a046dbf60ac60f1c22fe323fa93.tar.bz2
Fix for Linux/VDSO failure.
Diffstat (limited to 'gdb/testsuite')
-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 ae84e06..adcadd7 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 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"}