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

Robert Drehmel robert at zoot.drehmel.com
Thu Oct 9 03:34:28 PDT 2003


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
> 
> 


More information about the cvs-src mailing list