This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] gdb.base/multi-forks.exp
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 18 Sep 2006 17:33:56 +1200
- Subject: [PATCH] gdb.base/multi-forks.exp
Going through the testsuite for nickrob-async-20060513-branch (multi-threaded
tests fail due to new linux_nat_wait), I notice the test below fails for
me on mainline. I don't know if __kernel_vsyscall is due to the 2.6
kernel, GCC 4.+ or how general it is.
--
Nick http://www.inet.net.nz/~nickrob
2006-09-18 Nick Roberts <nickrob@snap.net.nz>
* gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
*** multi-forks.exp 10 Aug 2006 17:27:20 +1200 1.5
--- multi-forks.exp 18 Sep 2006 17:24:54 +1200
***************
*** 115,121 ****
for {set i 1} {$i <= 15} {incr i} {
gdb_test "continue" "Breakpoint .* main .*exit.*" "Run to exit $i"
gdb_test "info fork" " 4 .* 3 .* 2 .* 1 .*" "info fork $i"
! gdb_test "restart $i" "(_dl_sysinfo_int80|fork).*" "restart $i"
}
gdb_test "continue" "Breakpoint .* main .*exit.*" "Run to exit 16"
--- 115,122 ----
for {set i 1} {$i <= 15} {incr i} {
gdb_test "continue" "Breakpoint .* main .*exit.*" "Run to exit $i"
gdb_test "info fork" " 4 .* 3 .* 2 .* 1 .*" "info fork $i"
! gdb_test "restart $i" "(_dl_sysinfo_int80|fork|__kernel_vsyscall).*" \
! "restart $i"
}