From owner-freebsd-current Thu Oct 17 15: 9:10 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 089EE37B401; Thu, 17 Oct 2002 15:09:09 -0700 (PDT) Date: Thu, 17 Oct 2002 15:09:09 -0700 From: Juli Mallett To: Mark Kettenis Cc: jhb@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [PATCH] Fix PT_IO ptrace(2) request Message-ID: <20021017150908.A95340@FreeBSD.org> References: <200210172155.g9HLt5vV000986@elgar.kettenis.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200210172155.g9HLt5vV000986@elgar.kettenis.dyndns.org>; from kettenis@chello.nl on Thu, Oct 17, 2002 at 11:55:05PM +0200 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Mark Kettenis [ Data: 2002-10-17 ] [ Subjecte: Re: [PATCH] Fix PT_IO ptrace(2) request ] > Date: Wed, 16 Oct 2002 12:49:14 -0400 (EDT) > From: John Baldwin > > On 14-Oct-2002 Mark Kettenis wrote: > > The new PT_IO ptrace(2) request doesn't work, since it doesn't release > > a lock. Since PT_IO is similar to PT_READ_D/PT_WRITE_D, I copied the > > PROC_UNLOCK from there and inserted in the same location. Patch, > > against version 1.103 of sys_process.c, attached. > > Good catch, I've committed it. Thanks! > > Thanks, I'll exploit the PT_IO stuff in the FSF GDB sources in the > near future. This probably means we can now use Poor Man's Debugger from OpenBSD, out of the box (cvs repo) with only minor mods. -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message