This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reverse debugging


 > > ...If I try to reverse a remote target using gdbserver (actually on
 > > host/local machine - x86_64 this time), I'm not told that the target
 > > doesn't support this command but reverse-next works just like next until
 > > I hit a function:
 > >
 > > (gdb) reverse-next
 > >
 > > Program received signal SIGTRAP, Trace/breakpoint trap.
 > > 0x0000000000400521 in printf@plt ()
 > > Current language: ?auto; currently asm
 > > (gdb)
 > 
 > Looks like you use an old gdb-cvs version with amd64,right?

I didn't think I had an old gdb-cvs version - at least not more than a few
days old.

 > 1. Please use the head version of gdb.  It will tell you that amd64
 > doesn't support prec now.

I've tried it again and it does, indeed, report it.  Thanks.

 > 2. You can try the patch that I post to make gdb support amd64.  You
 > can get the link and other message from
 > http://sourceware.org/gdb/wiki/ReversibleDebugging

I can try it if you wish but I don't have access to any real embedded
targets and have only used "target remote" through gdbserver on my local
machine.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]