This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch v4 00/13] branch tracing support for Atom
On Tue, 27 Nov 2012 15:25:39 +0100, Metzger, Markus T wrote:
> I would also expect problems with stepping, since we won't be able to fake
> a back trace using branch trace data. I don't expect that commands like
> reverse-next, next, and finish would work without special cases for btrace.
It is true these commands implemented on btrace would need to disassemble x86*
instructions (like reverse-execution does for the memory recording purpose),
as you state backtrace is not available there which they depend upon.
It would be a larger work.
> Regarding the btrace list feature, this might be something we may want to
> add to reverse execution. It gives an overview over the executed code in
> a very compact format. If people find this useful, we could compute
> something similar from the reverse execution history.
It depends on whether there could be a common internal interface to both.
Thanks,
Jan