Help

Nate Eldredge neldredge at hmc.edu
Thu Aug 28 10:41:09 UTC 2003


On Thu, 28 Aug 2003, [koi8-r] "Jucovschi Constantin[koi8-r] "  wrote:

> Hi,
>
> How to see which system call was called by a process stopped by
> ptrace(PTRACE_SYSCALL) command.

The system call number is in one of the process's registers, accessible
via PTRACE_PEEKUSR.  On x86 it is in ORIG_EAX.

> I tried to look in strace sources but I didn't get the logic. Can
> anyone explain briefly or recommend some good documentation on this
> topic.
>
> Thanks in advance
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Strace-devel mailing list
> Strace-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/strace-devel
>


-- 

Nate Eldredge
neldredge at hmc.edu





More information about the Strace-devel mailing list