From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23348 invoked by alias); 27 Nov 2009 18:11:47 -0000 Received: (qmail 23338 invoked by uid 22791); 27 Nov 2009 18:11:47 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Nov 2009 18:11:44 +0000 Received: from jupiter.vmware.com (mailhost5.vmware.com [10.16.68.131]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 8435137041; Fri, 27 Nov 2009 10:11:40 -0800 (PST) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by jupiter.vmware.com (Postfix) with ESMTP id 76833DC058; Fri, 27 Nov 2009 10:11:40 -0800 (PST) Message-ID: <4B10154F.7070902@vmware.com> Date: Sun, 29 Nov 2009 02:24:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20090624) MIME-Version: 1.0 To: Sean Chen CC: Hui Zhu , "gdb@sourceware.org" Subject: Re: System call support in reversible debugging References: <5e81cb500911262231g57f693dwc885576172e016e1@mail.gmail.com> <5e81cb500911270711wb99d531i111d064f05ef03b4@mail.gmail.com> <5e81cb500911270742j546062f2jca7441a912ffad87@mail.gmail.com> In-Reply-To: <5e81cb500911270742j546062f2jca7441a912ffad87@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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-11/txt/msg00209.txt.bz2 Sean Chen wrote: > Well. You mentioned that this munmap just can let prec ignore some > memory change record entry. Could you please show me what kind of > memory change is ignored? > > Can gdb record the system call? These are two separate questions. I 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.