This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Catching exec on Intel Linux
- From: Datoda <datoda at yahoo dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 26 Aug 2002 08:21:40 -0700 (PDT)
- Subject: 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