From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Taylor To: Andrew Cagney Cc: lduperval@sprint.ca, Insight Mailing List Subject: Re: Debugging a fork()ed process Date: Thu, 24 Feb 2000 07:36:00 -0000 Message-id: <200002241534.KAA11763@texas.cygnus.com> X-SW-Source: 2000-q1/msg00089.html Date: Thu, 24 Feb 2000 19:21:47 +1100 From: Andrew Cagney 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.