This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Using reverse execution
Stan Shebs <shebs@apple.com> writes:
> Conversely, if I have a tracepoint that just prints out one of my
> program's variables, that doesn't give me much that I can't get
> with a printf. However, if the tracepoint is collecting raw
> registers, that's more difficult to manage using only print
> functions, and then the tracepoint starts to looks more interesting.
> Ditto if I'm in a context where printf is not available, or so slow
> that it affects critical real-time behavior.
Tracepoints can collect (at least partial, and usually complete) stack
backtraces, too.
(Again, not to sidetrack the discussion...)