From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22708 invoked by alias); 27 Nov 2009 15:17:09 -0000 Received: (qmail 22698 invoked by uid 22791); 27 Nov 2009 15:17:08 -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-px0-f189.google.com (HELO mail-px0-f189.google.com) (209.85.216.189) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Nov 2009 15:17:02 +0000 Received: by pxi27 with SMTP id 27so1128512pxi.25 for ; Fri, 27 Nov 2009 07:17:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.27.2 with SMTP id e2mr110995wfj.202.1259335021087; Fri, 27 Nov 2009 07:17:01 -0800 (PST) In-Reply-To: <5e81cb500911270711wb99d531i111d064f05ef03b4@mail.gmail.com> References: <5e81cb500911262231g57f693dwc885576172e016e1@mail.gmail.com> <5e81cb500911270711wb99d531i111d064f05ef03b4@mail.gmail.com> From: Hui Zhu Date: Sat, 28 Nov 2009 01:45: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/msg00207.txt.bz2 No. munmap is not memory change. It release memory. Hui On Fri, Nov 27, 2009 at 23:11, Sean Chen wrote: > 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 = update. >> >> 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? > > -- > Best Regards, > Sean Chen >