This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Catching exec on Intel Linux


Hi,

   I use PTRACE_SYSCALL to trace system calls.
Ususally, PTRACE_SYSCALL stops twice for each system
call (once at the entry and the other time at the exit
of the system call). But for execve system call,
PTRACE_SYSCALL stops three times (once at the entry
and twice at the exit, it seems to me). Is there an
explanation for this anomaly? Thanks. 

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]