From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2485 invoked by alias); 27 Nov 2009 15:42:29 -0000 Received: (qmail 2473 invoked by uid 22791); 27 Nov 2009 15:42:26 -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:42:19 +0000 Received: by ewy7 with SMTP id 7so2048369ewy.8 for ; Fri, 27 Nov 2009 07:42:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.107.10 with SMTP id z10mr1367788ebo.33.1259336536408; Fri, 27 Nov 2009 07:42:16 -0800 (PST) In-Reply-To: References: <5e81cb500911262231g57f693dwc885576172e016e1@mail.gmail.com> <5e81cb500911270711wb99d531i111d064f05ef03b4@mail.gmail.com> Date: Sat, 28 Nov 2009 17:44:00 -0000 Message-ID: <5e81cb500911270742j546062f2jca7441a912ffad87@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/msg00208.txt.bz2 On Fri, Nov 27, 2009 at 11:16 PM, Hui Zhu wrote: > No. =A0munmap is not memory change. =A0It 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 wrot= e: >>>> 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 >> > Thanks. 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? --=20 Best Regards, Sean Chen