From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12341 invoked by alias); 27 Nov 2009 08:05:12 -0000 Received: (qmail 12332 invoked by uid 22791); 27 Nov 2009 08:05:11 -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-pw0-f49.google.com (HELO mail-pw0-f49.google.com) (209.85.160.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Nov 2009 08:05:01 +0000 Received: by pwi1 with SMTP id 1so549252pwi.8 for ; Fri, 27 Nov 2009 00:05:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.129.7 with SMTP id g7mr74174wfn.43.1259309100101; Fri, 27 Nov 2009 00:05:00 -0800 (PST) In-Reply-To: <5e81cb500911262231g57f693dwc885576172e016e1@mail.gmail.com> References: <5e81cb500911262231g57f693dwc885576172e016e1@mail.gmail.com> From: Hui Zhu Date: Fri, 27 Nov 2009 15:42:00 -0000 Message-ID: Subject: Re: System call support in reversible debugging To: Sean Chen Cc: 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/msg00205.txt.bz2 This is a old query. For now, this munmap just can let prec ignore some memory change record entry. You can answer 'no' then inferior will keep exec. Most of thing will be find. :) Maybe we need update this query looks not so scary and do some other updat= e. Thanks, Hui On Fri, Nov 27, 2009 at 14:31, Sean Chen wrote: > Hi, > > Can gdb record system calls without checkpoints or snapshots > currently? If not, is it possible to record the instructions and > reverse the inferior? > > When I recorded fclose(), I got the following message. > The next instruction is syscall munmap. =A0It will free the memory addr > =3D 0xb7fe0000 len =3D 4096. =A0It will make record target get error. =A0= Do > you want to stop the program?([y] or n) > > Thanks in advance. > > -- > Best Regards, > Sean Chen >