From owner-cvs-src@FreeBSD.ORG Thu Oct 9 03:34:28 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5376C16A4B3 for ; Thu, 9 Oct 2003 03:34:28 -0700 (PDT) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [62.67.200.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B5B443FA3 for ; Thu, 9 Oct 2003 03:34:26 -0700 (PDT) (envelope-from robert@zoot.drehmel.com) Received: (qmail 23282 invoked from network); 9 Oct 2003 10:34:24 -0000 Received: from unknown (HELO bsd.develop.ferrari.local) ([62.159.79.193]) (envelope-sender )AES256-SHA encrypted SMTP for ; 9 Oct 2003 10:34:24 -0000 Received: (from robert@localhost) by bsd.develop.ferrari.local (8.12.9/8.11.5) id h99AJZiU001443; Thu, 9 Oct 2003 12:19:35 +0200 (CEST) (envelope-from robert) Date: Thu, 9 Oct 2003 12:19:34 +0200 From: Robert Drehmel To: Robert Drehmel Message-ID: <20031009101934.GA1424@bsd.develop.ferrari.local> References: <200310091017.h99AHH4I058075@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200310091017.h99AHH4I058075@repoman.freebsd.org> User-Agent: Mutt/1.4i cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha trap.c src/sys/amd64/amd64 trap.c src/sys/i386/i386 trap.c src/sys/ia64/ia64 trap.c src/sys/kern sys_process.c src/sys/sparc64/sparc64 trap.c src/sys/sys ptrace.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 10:34:28 -0000 On Thu, Oct 09, 2003 at 03:17:17AM -0700, Robert Drehmel wrote: > robert 2003/10/09 03:17:16 PDT > > FreeBSD src repository > > Modified files: > sys/alpha/alpha trap.c > sys/amd64/amd64 trap.c > sys/i386/i386 trap.c > sys/ia64/ia64 trap.c > sys/kern sys_process.c > sys/sparc64/sparc64 trap.c > sys/sys ptrace.h > Log: > Implement preliminary support for the PT_SYSCALL command to ptrace(2). The implementation details are possibly subject to change, as the current implementation neither returns the number of system call arguments (most applications using this command would need this) nor does it tell whether the current stop of the traced process was caused by a system call entry or exit - the application has to keep track of that. I am not sure yet how to achieve these points in a nice and clean way. > > Revision Changes Path > 1.117 +5 -0 src/sys/alpha/alpha/trap.c > 1.265 +5 -0 src/sys/amd64/amd64/trap.c > 1.258 +5 -0 src/sys/i386/i386/trap.c > 1.91 +6 -0 src/sys/ia64/ia64/trap.c > 1.115 +16 -1 src/sys/kern/sys_process.c > 1.67 +5 -0 src/sys/sparc64/sparc64/trap.c > 1.21 +17 -0 src/sys/sys/ptrace.h > >