Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2003 12:19:34 +0200
From:      Robert Drehmel <robert@zoot.drehmel.com>
To:        Robert Drehmel <robert@FreeBSD.org>
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
Message-ID:  <20031009101934.GA1424@bsd.develop.ferrari.local>
In-Reply-To: <200310091017.h99AHH4I058075@repoman.freebsd.org>
References:  <200310091017.h99AHH4I058075@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031009101934.GA1424>