From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13083 invoked by alias); 18 Oct 2009 02:46:03 -0000 Received: (qmail 13074 invoked by uid 22791); 18 Oct 2009 02:46:02 -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-pz0-f192.google.com (HELO mail-pz0-f192.google.com) (209.85.222.192) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 18 Oct 2009 02:45:58 +0000 Received: by pzk30 with SMTP id 30so2745528pzk.24 for ; Sat, 17 Oct 2009 19:45:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.24.36 with SMTP id b36mr198546wfj.14.1255833957061; Sat, 17 Oct 2009 19:45:57 -0700 (PDT) In-Reply-To: <7d77a27d0910171802uc09fd78s79c7e9a00fda258b@mail.gmail.com> References: <4AD8D8DC.2080904@gmail.com> <7d77a27d0910171802uc09fd78s79c7e9a00fda258b@mail.gmail.com> From: Hui Zhu Date: Sun, 18 Oct 2009 03:18:00 -0000 Message-ID: Subject: Re: reverse execution To: Jiang Jilin Cc: burlen , gdb@sourceware.org, 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/msg00290.txt.bz2 Thanks Jilin, Sorry I made a mistake when we told about it. I want to say 0xf10 series insn (they seems called sse insn), but I said mmx insn. These 0xf10 insn seems control the xmm reg, you can see the values of these reg whith gdb cmd "info info all-registers". Hui On Sun, Oct 18, 2009 at 09:02, Jiang Jilin wrote: > On Sat, Oct 17, 2009 at 4:34 AM, burlen wrote: >> Is it possible to use reverse execution features on x86-64 linux platfor= m? I >> turned it on bad things happened. namely sigtrap then sigabrt. it spit o= ut >> these messages: >> >> Process record doesn't support instruction 0xf10 at address 0x7fffdda0dc= 77. >> Process record: failed to record execution log. > > I checked the opcode 0x0f10, it seems that it hasn't been supported so fa= r, > either on x86-32 or x86-64. =A0I'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 oth= er > 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 u= se >> 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 0x7fffdda0dc= 77. >> 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 0x7fffdda0dc= 77. >> 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) >> >> >> > > > > -- > Jiang >