From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24663 invoked by alias); 18 Oct 2009 01:03:04 -0000 Received: (qmail 24652 invoked by uid 22791); 18 Oct 2009 01:03:03 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-qy0-f178.google.com (HELO mail-qy0-f178.google.com) (209.85.221.178) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 18 Oct 2009 01:02:58 +0000 Received: by qyk8 with SMTP id 8so2729084qyk.24 for ; Sat, 17 Oct 2009 18:02:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.69.38 with SMTP id x38mr435764qci.79.1255827777068; Sat, 17 Oct 2009 18:02:57 -0700 (PDT) In-Reply-To: <4AD8D8DC.2080904@gmail.com> References: <4AD8D8DC.2080904@gmail.com> From: Jiang Jilin Date: Sun, 18 Oct 2009 02:19:00 -0000 Message-ID: <7d77a27d0910171802uc09fd78s79c7e9a00fda258b@mail.gmail.com> Subject: Re: reverse execution To: burlen Cc: gdb@sourceware.org, Hui Zhu , Michael Snyder 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-10/txt/msg00287.txt.bz2 On Sat, Oct 17, 2009 at 4:34 AM, burlen wrote: > Is it possible to use reverse execution features on x86-64 linux platform= ? I > turned it on bad things happened. namely sigtrap then sigabrt. it spit out > these messages: > > Process record doesn't support instruction 0xf10 at address 0x7fffdda0dc7= 7. > Process record: failed to record execution log. I checked the opcode 0x0f10, it seems that it hasn't been supported so far, either on x86-32 or x86-64. I'm working on it. Thank you for reporting! To Hui and Michael : Sorry, I'm a bit busy for looking for jobs these days, so I've to delay the work for MMX support . And now, I think I should add opcode 0x0f10 support and other 2-byte opcodes at first, because they seems more easier to implement. Any questions please tell me :) Thanks! Jiang > My session follows. Does this mean reverse execution isn't going to work = on > this platform? or perhaps I have done something wrong in my attempt to use > the feature? > > Thanks > Burlen > > > (gdb) run > Starting program: /home/burlen/ext/ParaView/PV3-3.7/bin/pvserver > [Thread debugging using libthread_db enabled] > Listen on port: 11111 > Waiting for client... > Waiting for server... > Client connected. > ^C > Program received signal SIGINT, Interrupt. > 0x00007fffe31a66f3 in select () from /lib/libc.so.6 > (gdb) br vtkOOCFieldTracer::OOCIntegrateOne > Breakpoint 1 at 0x7fffdda0b591: file > /home/burlen/ext/ParaView/SciVisToolKit/vtkOOCFieldTracer.cxx, line 447. > (gdb) cont > Continuing. > > Breakpoint 1, vtkOOCFieldTracer::OOCIntegrateOne (this=3D0xa77570, > oocR=3D0x1fbff10, fieldName=3D0xed88b8 "vi", line=3D0x1fd2020, > tcon=3D0x7fffffffc480) at > /home/burlen/ext/ParaView/SciVisToolKit/vtkOOCFieldTracer.cxx:447 > 447 =A0 =A0 =A0 int w=3D0; > (gdb) target record > (gdb) disable 1 > (gdb) cont > Continuing. > Process record doesn't support instruction 0xf10 at address 0x7fffdda0dc7= 7. > Process record: failed to record execution log. > > Program received signal SIGTRAP, Trace/breakpoint trap. > 0x00007fffdda0dc76 in FieldLine::GetSeedPoint (this=3D0x1fd2020, > p=3D0x7fffffffc2e0) at /home/burlen/ext/ParaView/SciVisToolKit/FieldLine.= h:113 > 113 =A0 =A0 =A0 =A0 p[0]=3Dthis->Seed[0]; > (gdb) cont > Continuing. > Process record doesn't support instruction 0xf10 at address 0x7fffdda0dc7= 7. > Process record: failed to record execution log. > > Program received signal SIGABRT, Aborted. > 0x00007fffdda0dc76 in FieldLine::GetSeedPoint (this=3D0x1fd2020, > p=3D0x7fffffffc2e0) at /home/burlen/ext/ParaView/SciVisToolKit/FieldLine.= h:113 > 113 =A0 =A0 =A0 =A0 p[0]=3Dthis->Seed[0]; > (gdb) > > > --=20 Jiang