]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2005-11-25 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 25 Nov 2005 22:16:43 +0000 (22:16 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 25 Nov 2005 22:16:43 +0000 (22:16 +0000)
* gdb.base/foll-fork.exp: Add PASS cases for linux.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/foll-fork.exp

index bf009b47c7d1b0546b87283666f00a5ca97611b7..aaa7cf4350255cb18da05305fe0b99bf4207599f 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-25  Michael Snyder  <msnyder@redhat.com>
+
+       * gdb.base/foll-fork.exp: Add PASS cases for linux.
+
 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
 
        * gdb.asm/m68hc11.inc: Setup the data section.
index 2ef3a4a0ad7cb82a18562b92b5bcf2161ee357b4..41b63f39001e6d928e637630e0782a0e76058b8f 100644 (file)
@@ -41,7 +41,7 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
 # Until "set follow-fork-mode" and "catch fork" are implemented on
 # other targets...
 #
-if ![istarget "hppa*-hp-hpux*"] then {
+if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-pc-linux*"]} then {
     continue
 }
 
@@ -155,6 +155,8 @@ proc catch_fork_child_follow {} {
    gdb_expect {
       -re "Catchpoint.*(forked process.*),.*in _fork_sys.*$gdb_prompt $"\
                       {pass "explicit child follow, catch fork"}
+      -re "Catchpoint.*(forked process.*),.*in _dl_sysinfo.*$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"}
    }
@@ -227,6 +229,8 @@ proc tcatch_fork_parent_follow {} {
    gdb_expect {
       -re ".*in _fork_sys.*$gdb_prompt $"\
                       {pass "explicit parent follow, tcatch fork"}
+      -re ".*in _dl_sysinfo.*$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"}
    }