From owner-freebsd-current@FreeBSD.ORG Mon May 14 07:37:54 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D95A916A403 for ; Mon, 14 May 2007 07:37:54 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 8EE8A13C448 for ; Mon, 14 May 2007 07:37:54 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 01F9320AA; Mon, 14 May 2007 09:37:50 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id DA37F20A8; Mon, 14 May 2007 09:37:49 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id A96C15651; Mon, 14 May 2007 09:37:49 +0200 (CEST) From: des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=) To: Steve Kargl References: <20070513175425.GA64710@troutmask.apl.washington.edu> <864pmg1t1s.fsf@dwp.des.no> <20070513183009.GA96018@troutmask.apl.washington.edu> <86646wzfv0.fsf@dwp.des.no> <20070513192836.GA94258@troutmask.apl.washington.edu> <46478626.9060301@FreeBSD.org> <20070513230055.1dbd22f5.rnsanchez@wait4.org> <20070514020635.GA99892@troutmask.apl.washington.edu> <20070514022620.GA52887@nagual.pp.ru> <20070514024316.GA197@troutmask.apl.washington.edu> Date: Mon, 14 May 2007 09:37:49 +0200 In-Reply-To: <20070514024316.GA197@troutmask.apl.washington.edu> (Steve Kargl's message of "Sun\, 13 May 2007 19\:43\:16 -0700") Message-ID: <86ps53x3ci.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Ricardo Nabinger Sanchez , freebsd-current@freebsd.org Subject: Re: Process for requesting reverting patch? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2007 07:37:54 -0000 Steve Kargl writes: > Read the entire thread. tcsh hangs when invoked from gdb with a > .cshrc that contains "tcsh hangs when invoked from gdb"? gdb uses ptrace(2), which breaks the process hierarchy - the debugged process is reparented to gdb. When the debugged process forks and gdb attaches to the child, the child will seem - from the parent's perspective - to disappear into thin air. This has never worked correctly in FreeBSD and is completely unrelated to tcsh, so you can get off mp@'s back already. Fixing it is hard. I've tried. It seems easy until you realize that you need to rewrite most of kern_wait(). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no