From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27494 invoked by alias); 28 Nov 2009 01:45:46 -0000 Received: (qmail 27484 invoked by uid 22791); 28 Nov 2009 01:45:46 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f215.google.com (HELO mail-ew0-f215.google.com) (209.85.219.215) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 28 Nov 2009 01:45:41 +0000 Received: by ewy7 with SMTP id 7so2541934ewy.8 for ; Fri, 27 Nov 2009 17:45:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.24.3 with SMTP id t3mr1624187ebb.40.1259372738362; Fri, 27 Nov 2009 17:45:38 -0800 (PST) In-Reply-To: <4B10154F.7070902@vmware.com> References: <5e81cb500911262231g57f693dwc885576172e016e1@mail.gmail.com> <5e81cb500911270711wb99d531i111d064f05ef03b4@mail.gmail.com> <5e81cb500911270742j546062f2jca7441a912ffad87@mail.gmail.com> <4B10154F.7070902@vmware.com> Date: Sun, 29 Nov 2009 02:24:00 -0000 Message-ID: <5e81cb500911271745t1a119520l4944919d2139e8ae@mail.gmail.com> Subject: Re: System call support in reversible debugging From: Sean Chen To: Michael Snyder Cc: Hui Zhu , "gdb@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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-11/txt/msg00210.txt.bz2 On Sat, Nov 28, 2009 at 2:07 AM, Michael Snyder wrote: > These are two separate questions. =A0I think the one you started with > is can gdb record a system call, and the answer is "yes". > > > The issue with mmap has a lot of history, and rather than try to > explain it, I urge you to look up the threads which have "mmap" > or "sbrk" in the title) and read them. > > Thanks for the explanation. That is very kind of you. I am confused about the first question. How does gdb record the system call instructions? You know, they are in the kernel space? It seems that I must have made a mistake somewhere. Please help to clarify. Thanks in advance. --=20 Best Regards, Sean Chen