This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: reverse execution
- From: Jiang Jilin <freephp at gmail dot com>
- To: burlen <burlen dot loring at gmail dot com>
- Cc: gdb at sourceware dot org, Hui Zhu <teawater at gmail dot com>, Michael Snyder <msnyder at vmware dot com>
- Date: Sun, 18 Oct 2009 09:02:37 +0800
- Subject: Re: reverse execution
- References: <4AD8D8DC.2080904@gmail.com>
On Sat, Oct 17, 2009 at 4:34 AM, burlen <burlen.loring@gmail.com> 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 0x7fffdda0dc77.
> 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=0xa77570,
> oocR=0x1fbff10, fieldName=0xed88b8 "vi", line=0x1fd2020,
> tcon=0x7fffffffc480) at
> /home/burlen/ext/ParaView/SciVisToolKit/vtkOOCFieldTracer.cxx:447
> 447 ? ? ? int w=0;
> (gdb) target record
> (gdb) disable 1
> (gdb) cont
> Continuing.
> Process record doesn't support instruction 0xf10 at address 0x7fffdda0dc77.
> Process record: failed to record execution log.
>
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x00007fffdda0dc76 in FieldLine::GetSeedPoint (this=0x1fd2020,
> p=0x7fffffffc2e0) at /home/burlen/ext/ParaView/SciVisToolKit/FieldLine.h:113
> 113 ? ? ? ? p[0]=this->Seed[0];
> (gdb) cont
> Continuing.
> Process record doesn't support instruction 0xf10 at address 0x7fffdda0dc77.
> Process record: failed to record execution log.
>
> Program received signal SIGABRT, Aborted.
> 0x00007fffdda0dc76 in FieldLine::GetSeedPoint (this=0x1fd2020,
> p=0x7fffffffc2e0) at /home/burlen/ext/ParaView/SciVisToolKit/FieldLine.h:113
> 113 ? ? ? ? p[0]=this->Seed[0];
> (gdb)
>
>
>
--
Jiang