This is the mail archive of the gdb-patches@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]

FW: [rfc] remote, btrace: add branch tracing protocol to Qbtrace packet


Hi Pedro,

I would appreciate your feedback to the below discussion.

> -----Original Message-----
> From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Jan Kratochvil
> Sent: Thursday, February 28, 2013 11:03 AM
[...]
> > > No preference for the qSupported details, I am OK with your proposal myself,
> > > "qXfer" gdbserver->gdb feature is designed that way already.
> >
> > Pedro objected and rather wanted a comma-separated list, i.e.
> >
> > ....;Qbtrace=bts,lbr;...
> >
> > I'm fine either way. For the way I proposed and what seems to be your preference,
> > as well, I already found code in GDB to handle it. For Pedro's preferred way, I have
> > not found anything that I could reuse.
> >
> > I would like to get the minimal changes in with the btrace series so we don't need
> > to rework the protocol later on and are forced to maintain backwards compatibility.
> > I do not intend to implement full support for different branch trace recording
> > methods right now, since we currently only have one. We will add that support
> > when there's a need.
> >
> > Pedro did not respond to my reply. I don't know how to proceed, here.
> 
> OK; hopefully Pedro will.  For example qXfer:* sets a precedent for it IMO
> although delegating all gdbserver decisions to Pedro:
> 
> PacketSize=3fff;QPassSignals+;qXfer:libraries-
> svr4:read+;qXfer:auxv:read+;qXfer:spu:read+;qXfer:spu:write+;qXfer:siginfo:read+;qXfer:siginfo:write+;qXfer:features:read+;QStart
> NoAckMode+;qXfer:osdata:read+;multiprocess+;QNonStop+;QDisableRandomization+;qXfer:threads:read+;ConditionalTracepoints+;
> TraceStateVariables+;TracepointSource+;DisconnectedTracing+;FastTracepoints+;StaticTracepoints+;InstallInTrace+;qXfer:statictrace:
> read+;qXfer:traceframe-info:read+;EnableDisableTracepoints+;tracenz+

Thanks,
Markus.
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: 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


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