2005-11-25 Michael Snyder * gdb.base/foll-fork.exp: Run if istarget linux. Add PASS cases for linux. * gdb.base/foll-vfork.exp: Run if istarget linux. Index: gdb.base/foll-vfork.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/foll-vfork.exp,v retrieving revision 1.3 diff -p -r1.3 foll-vfork.exp *** gdb.base/foll-vfork.exp 11 Dec 2002 02:04:45 -0000 1.3 --- gdb.base/foll-vfork.exp 25 Nov 2005 22:30:44 -0000 *************** if { [gdb_compile "${srcdir}/${subdir}/ *** 55,61 **** # Until "set follow-fork-mode" and "catch vfork" are implemented on # other targets... # ! if ![istarget "hppa*-hp-hpux*"] then { continue } --- 55,61 ---- # Until "set follow-fork-mode" and "catch vfork" are implemented on # other targets... # ! if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-pc-linux*"]} then { continue } *************** proc vfork_parent_follow_to_bp {} { *** 109,115 **** } send_gdb "continue\n" gdb_expect { ! -re ".*Detaching after fork from process.*Breakpoint.*18.*$gdb_prompt "\ {pass "vfork parent follow, to bp"} -re "$gdb_prompt $" {fail "vfork parent follow, to bp"} timeout {fail "(timeout) vfork parent follow, to bp" } --- 109,115 ---- } send_gdb "continue\n" gdb_expect { ! -re ".*Detaching after fork from.*Breakpoint.*18.*$gdb_prompt "\ {pass "vfork parent follow, to bp"} -re "$gdb_prompt $" {fail "vfork parent follow, to bp"} timeout {fail "(timeout) vfork parent follow, to bp" }