This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
Re: Debugging a fork()ed process
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: Debugging a fork()ed process
- From: David Taylor <taylor at cygnus dot com>
- Date: Thu, 24 Feb 2000 10:34:54 -0500
- cc: lduperval at sprint dot ca, Insight Mailing List <insight at sourceware dot cygnus dot com>
Date: Thu, 24 Feb 2000 19:21:47 +1100
From: Andrew Cagney <ac131313@cygnus.com>
lduperval@sprint.ca wrote:
>
> Hi,
>
> Subject (almost) says it all: how to I debug a forked process? I still
> trying to find that problem I'm having with a GIMP plugin and it looks
> like the problem shows up in a forked process. But the forked process
> stays around for less than 1 second. Is there a good technique to catch
> this process and debug it? I on Linux is that changes anything.
HP contributed code to ``follow fork''.
I believe, however, that it is still only implemented under HPUX.
Correct; it is only implemented on HPUX.
The Solaris /proc interface certainly has the necessary OS support to
allow it to be implemented for Solaris.
The Linux man pages are rather skimpy on details; but, I don't think
that Linux has the necessary OS support.