From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4322 invoked by alias); 1 Jun 2009 07:19:20 -0000 Received: (qmail 4314 invoked by uid 22791); 1 Jun 2009 07:19:18 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pz0-f175.google.com (HELO mail-pz0-f175.google.com) (209.85.222.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Jun 2009 07:19:14 +0000 Received: by pzk5 with SMTP id 5so7489198pzk.12 for ; Mon, 01 Jun 2009 00:19:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.49.20 with SMTP id w20mr1754751wfw.278.1243840752895; Mon, 01 Jun 2009 00:19:12 -0700 (PDT) In-Reply-To: <874ov0e87w.fsf@basil.nowhere.org> References: <83iqji529q.fsf@gnu.org> <874ov0e87w.fsf@basil.nowhere.org> Date: Mon, 01 Jun 2009 07:19:00 -0000 Message-ID: Subject: Re: System call support in process record and replay From: Hui Zhu To: Andi Kleen Cc: Eli Zaretskii , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00001.txt.bz2 On Mon, Jun 1, 2009 at 15:14, Andi Kleen wrote: > Eli Zaretskii 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.