From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11273 invoked by alias); 18 Oct 2009 03:18:45 -0000 Received: (qmail 11265 invoked by uid 22791); 18 Oct 2009 03:18:44 -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 03:18:39 +0000 Received: by qyk8 with SMTP id 8so2791000qyk.24 for ; Sat, 17 Oct 2009 20:18:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.31.211 with SMTP id z19mr500416qcc.24.1255835917145; Sat, 17 Oct 2009 20:18:37 -0700 (PDT) In-Reply-To: References: <4AD8D8DC.2080904@gmail.com> <7d77a27d0910171802uc09fd78s79c7e9a00fda258b@mail.gmail.com> From: Jiang Jilin Date: Sun, 18 Oct 2009 04:01:00 -0000 Message-ID: <7d77a27d0910172018t4622738cn993de6472679078a@mail.gmail.com> Subject: Re: reverse execution To: Hui Zhu 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/msg00291.txt.bz2 On Sun, Oct 18, 2009 at 10:45 AM, Hui Zhu wrote: > Thanks Jilin, > > Sorry I made a mistake when we told about it. =A0I want to say 0xf10 > series insn (they seems called sse insn), but I said mmx insn. Aha, I misunderstood what you said. I take a glance at the specific and find they are relevant with mmx, so you are right. :) > These 0xf10 insn seems control the xmm reg, you can see the values of > these reg whith gdb cmd "info info all-registers". Yeah, It seems I cannot delay the work for mmx insn. :) Thanks Hui. > 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 platfo= rm? 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 0x7fffdda0d= c77. >>> Process record: failed to record execution log. >> >> I checked the opcode 0x0f10, it seems that it hasn't been supported so f= ar, >> 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 ot= her >> 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 wor= k 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 0x7fffdda0d= c77. >>> 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/FieldLin= e.h:113 >>> 113 =A0 =A0 =A0 =A0 p[0]=3Dthis->Seed[0]; >>> (gdb) cont >>> Continuing. >>> Process record doesn't support instruction 0xf10 at address 0x7fffdda0d= c77. >>> 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/FieldLin= e.h:113 >>> 113 =A0 =A0 =A0 =A0 p[0]=3Dthis->Seed[0]; >>> (gdb) >>> >>> >>> >> >> >> >> -- >> Jiang >> > --=20 Jiang