From owner-freebsd-hackers Thu Jun 27 11:27:00 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA15344 for hackers-outgoing; Thu, 27 Jun 1996 11:27:00 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA15333 for ; Thu, 27 Jun 1996 11:26:55 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA05432; Thu, 27 Jun 1996 11:25:19 -0700 From: Terry Lambert Message-Id: <199606271825.LAA05432@phaeton.artisoft.com> Subject: Re: longstanding, woeful inadeqacy To: alk@Think.COM (Tony Kimball) Date: Thu, 27 Jun 1996 11:25:19 -0700 (MST) Cc: jkh@time.cdrom.com, hackers@FreeBSD.ORG In-Reply-To: <199606270638.BAA00387@compound.Think.COM> from "Tony Kimball" at Jun 27, 96 01:38:17 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Quoth Jordan K. Hubbard on Wed, 26 June: > : Fork is an easier case since you don't need to swap the debugger's > : executable out - just attach to the new process. > > Easier in what sense? It is essentially impossible to debug anything > that forks, since by the time you can attach to it, it has gone > veering wildly out of control. DEFINITION: A process that forks while the "fork debug" flag is set will produces a "debug suspended" forked image instead of a running forked image. The debugger is expected to resume the process if it has set the "fork debug" flag on the parent process of the fork. Trivial. Same for exec. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.