From owner-cvs-all Fri Apr 12 19:21:36 2002 Delivered-To: cvs-all@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id EA43337B41F; Fri, 12 Apr 2002 19:21:27 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id D054F81437; Sat, 13 Apr 2002 11:51:25 +0930 (CST) Date: Sat, 13 Apr 2002 11:51:25 +0930 From: Greg 'groggy' Lehey To: John Baldwin Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sys_process.c Message-ID: <20020413115125.E12778@wantadilla.lemis.com> References: <200204122117.g3CLHcF92496@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday, 12 April 2002 at 17:20:48 -0400, John Baldwin wrote: > > On 12-Apr-2002 John Baldwin wrote: >> jhb 2002/04/12 14:17:38 PDT >> >> Modified files: >> sys/kern sys_process.c >> Log: >> Rework ptrace(2) to be more locking friendly. We do any needed copyin()'s >> and acquire the proctree_lock if needed first. Then we lock the process >> if necessary and fiddle with it as appropriate. Finally we drop locks and >> do any needed copyout's. This greatly simplifies the locking. > > I've tested this on i386 lightly (gdb still works for a trivial program as far > as breakpoints and running it.) Since gdb on alpha is busted this wasn't > tested on alpha. :-( I would appreciate if people would make sure I haven't > broken things. They shouldn't be broken in theory, but practice doesn't always > == theory. What's the status of gdb? This makes it sound as if it's broken. Am I misinterpreting? Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message