This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Run follow-fork tests on Linux


On Fri, Nov 25, 2005 at 02:33:48PM -0800, Michael Snyder wrote:
> This allows the tests "foll-fork" and "foll-vfork" to run on Linux,
> where they mostly pass.  A little more verbose output from linux-nat.c
> will fix the remaining failures.

What the others said, but...

> *************** 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" }

... you are testing this on something close to HEAD, right?  That
shouldn't be printed unless "set debug linux-nat 1".

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]