From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2575 invoked by alias); 1 Jun 2009 07:14:57 -0000 Received: (qmail 2565 invoked by uid 22791); 1 Jun 2009 07:14:55 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from one.firstfloor.org (HELO one.firstfloor.org) (213.235.205.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Jun 2009 07:14:50 +0000 Received: from basil.firstfloor.org (p5B3CB659.dip0.t-ipconnect.de [91.60.182.89]) by one.firstfloor.org (Postfix) with ESMTP id A464E18902B0; Mon, 1 Jun 2009 09:21:45 +0200 (CEST) Received: by basil.firstfloor.org (Postfix, from userid 1000) id F094F1D028E; Mon, 1 Jun 2009 09:14:43 +0200 (CEST) To: Eli Zaretskii Cc: Hui Zhu , gdb@sourceware.org Subject: Re: System call support in process record and replay From: Andi Kleen References: <83iqji529q.fsf@gnu.org> Date: Mon, 01 Jun 2009 07:14:00 -0000 In-Reply-To: <83iqji529q.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 May 2009 13:11:13 +0300") Message-ID: <874ov0e87w.fsf@basil.nowhere.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00000.txt.bz2 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) -Andi -- ak@linux.intel.com -- Speaking for myself only.