Fix spurious testsuite failure in multi-forks.exp

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fix spurious testsuite failure in multi-forks.exp

Andreas Schwab
On ia64 the vsyscall trampoline is called __kernel_syscall_via_break.
Checked in as obvious.

Andreas.

2007-01-26  Andreas Schwab  <[hidden email]>

        * gdb.base/multi-forks.exp ("restart $i"): Also match
        __kernel_syscall_via_break.

--- gdb/testsuite/gdb.base/multi-forks.exp.~1.8.~ 2007-01-10 11:18:58.000000000 +0100
+++ gdb/testsuite/gdb.base/multi-forks.exp 2007-01-26 15:39:42.000000000 +0100
@@ -115,7 +115,7 @@ gdb_test "set detach off" "" "set detach
 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).*" \
+  gdb_test "restart $i" "(_dl_sysinfo_int80|fork|__kernel_(v|)syscall).*" \
       "restart $i"
 }
 

--
Andreas Schwab, SuSE Labs, [hidden email]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."