This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] btrace: set/show record btrace cpu
> From: "Metzger, Markus T" <markus.t.metzger@intel.com>
> CC: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
> Date: Wed, 28 Feb 2018 07:38:03 +0000
> >
> > @item set record btrace cpu @var{identifier}
> > Set the processor to be used for enabling workarounds for processor
> > errata when decoding the trace.
> >
> > @cindex processor errata
> > @dfn{Processor errata} are bugs in processor firmware that can cause
> > a trace not to match the specification. Trace decoders that are
> > unaware of these errata might fail to decode such a trace.
> > @value{GDBN} can detect erroneous trace packets and correct them,
> > thus avoiding the decoding failures. These corrections are known as
> > @dfn{errata workarounds}, and are enabled based on the processor on
> > which the trace was recorded.
>
> I'm not sure whether the term 'firmware' is correct. I would instead phrase
> it like this:
>
> "Errata may cause the recorded trace to not match the specification. This,
> in turn, may cause trace decode to fail".
But that completely loses the explanation of what the errata are. If
my explanation is not accurate, let's correct it, rather than deleting
it.