Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* reverse execution
@ 2013-04-08 14:37 ishare
  2013-04-08 14:47 ` Jan Kratochvil
  0 siblings, 1 reply; 10+ messages in thread
From: ishare @ 2013-04-08 14:37 UTC (permalink / raw)
  To: gdb


    I record at 0x40000000 , then I nexti 10 instructions , then I want reverse execute 
    these 10 instructions one by one, So I type reverse-nexti ,but unexpectly ,gdb directly
    goes back to the addresss 0x40000000 ,where I start record .

    What I need is 10->9->8->7->6->5->4->3->2->1 ,not execute again from begin to end .

    How can I do for this ?

    thanks in advance ! 


^ permalink raw reply	[flat|nested] 10+ messages in thread
* reverse execution
@ 2009-10-16 21:07 burlen
  2009-10-16 21:55 ` Michael Snyder
  2009-10-18  2:19 ` Jiang Jilin
  0 siblings, 2 replies; 10+ messages in thread
From: burlen @ 2009-10-16 21:07 UTC (permalink / raw)
  To: gdb

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.

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)



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-04-08 14:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-08 14:37 reverse execution ishare
2013-04-08 14:47 ` Jan Kratochvil
  -- strict thread matches above, loose matches on Subject: below --
2009-10-16 21:07 burlen
2009-10-16 21:55 ` Michael Snyder
2009-10-17 23:49   ` Daniel Jacobowitz
2009-10-18  2:19 ` Jiang Jilin
2009-10-18  3:18   ` Hui Zhu
2009-10-18  4:01     ` Jiang Jilin
2009-10-18 11:18       ` Michael Snyder
2009-10-19  8:04         ` Hui Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox