From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20868 invoked by alias); 27 Nov 2009 15:11:42 -0000 Received: (qmail 20859 invoked by uid 22791); 27 Nov 2009 15:11:41 -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-ew0-f215.google.com (HELO mail-ew0-f215.google.com) (209.85.219.215) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Nov 2009 15:11:35 +0000 Received: by ewy7 with SMTP id 7so2015478ewy.8 for ; Fri, 27 Nov 2009 07:11:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.24.15 with SMTP id t15mr945005ebb.89.1259334692039; Fri, 27 Nov 2009 07:11:32 -0800 (PST) In-Reply-To: References: <5e81cb500911262231g57f693dwc885576172e016e1@mail.gmail.com> Date: Fri, 27 Nov 2009 18:11:00 -0000 Message-ID: <5e81cb500911270711wb99d531i111d064f05ef03b4@mail.gmail.com> Subject: Re: System call support in reversible debugging From: Sean Chen To: Hui Zhu 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/msg00206.txt.bz2 On Fri, Nov 27, 2009 at 4:04 PM, Hui Zhu wrote: > This is a old query. =A0For now, this munmap just can let prec ignore > some memory change record entry. > > You can answer 'no' then inferior will keep exec. =A0Most of thing will > be find. =A0:) > > Maybe we need update this query looks not so scary and =A0do some other u= pdate. > > 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. = =A0Do >> you want to stop the program?([y] or n) >> >> Thanks in advance. >> >> -- >> Best Regards, >> Sean Chen >> > Thanks for your reply. Does it mean that we have to ignore all memory changes in all system calls or kernel space code? --=20 Best Regards, Sean Chen