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
> -----Original Message-----
> From: Jan Kratochvil [mailto:jan.kratochvil@redhat.com]
> Sent: Tuesday, November 27, 2012 3:33 PM
> To: Metzger, Markus T
> Cc: gdb-patches@sourceware.org; markus.t.metzger@gmail.com; palves@redhat.com; tromey@redhat.com; kettenis@gnu.org
> Subject: 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.
I was talking about adding a new reverse- command to provide a similar list computed solely from the reverse execution history - without btrace.
Regards,
Markus.
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Peter Gleissner, Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052