This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: System call support in process record and replay
- From: Hui Zhu <teawater at gmail dot com>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: Eli Zaretskii <eliz at gnu dot org>, gdb at sourceware dot org
- Date: Mon, 1 Jun 2009 15:19:12 +0800
- Subject: Re: System call support in process record and replay
- References: <83iqji529q.fsf@gnu.org> <874ov0e87w.fsf@basil.nowhere.org>
On Mon, Jun 1, 2009 at 15:14, Andi Kleen <andi@firstfloor.org> wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>> I have a question about general design of the system call support for
>> the record/replay target, for systems whose system calls are entered
>> through software interrupts.
>>
>> The following excerpt from i386-tdep.c shows the currently-only
>> implementation, for Linux system calls entered via INT 80h:
>
> Note on modern x86 systems Linux doesn't even use INT 80h anymore for
> syscalls, but typically SYSENTER (or sometimes SYSCALL)
>
Linux 2.4 use it.