[lldb-dev] GDB RSP qVAttachOrWaitSupported
Abid, Hafiz
Hafiz_Abid at mentor.com
Fri May 9 06:40:35 PDT 2014
I have not read the documentation for this packet. But looking at the code,
It seems that you will return OK if your stub supports this packet. Otherwise an empty reply can
Indicate that packet is not supported.
Please look at the following link for more details about query packets.
https://sourceware.org/gdb/onlinedocs/gdb/General-Query-Packets.html#General-Query-Packets
Thanks,
Abid
> -----Original Message-----
> From: Matthew Gardiner [mailto:mg11 at csr.com]
> Sent: 09 May 2014 13:24
> To: Abid, Hafiz; lldb-dev at cs.uiuc.edu
> Subject: Re: [lldb-dev] GDB RSP qVAttachOrWaitSupported
>
> Abid, Hafiz wrote:
> > RNBRemote::HandlePacket_qVAttachOrWaitSupported has the following
> comments which may give you some idea.
> > // We support attachOrWait meaning attach if the process exists,
> otherwise wait to attach.
> Ok, thanks.
>
> So this whole entity "VAttachOrWaitSupported" is a concept which the stub
> does or not support, correct?
>
> If so, does the stub write back "1", if it does support it, otherwise "0"?
>
> Presumably if the stub does support this feature, are there any other
> messages which the stub should then support?
>
> I'm still not really clear what's happening here....
>
> Matt
>
>
>
> Member of the CSR plc group of companies. CSR plc registered in England
> and Wales, registered number 4187346, registered office Churchill House,
> Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United
> Kingdom More information can be found at www.csr.com. Keep up to date
> with CSR on our technical blog, www.csr.com/blog, CSR people blog,
> www.csr.com/people, YouTube, www.youtube.com/user/CSRplc, Facebook,
> www.facebook.com/pages/CSR/191038434253534, or follow us on Twitter at
> www.twitter.com/CSR_plc.
> New for 2014, you can now access the wide range of products powered by
> aptX at www.aptx.com.
More information about the lldb-dev
mailing list