[lldb-dev] GDBRemoteCommunicationClient::GetHostInfo triple question

Greg Clayton gclayton at apple.com
Fri Jul 18 15:28:22 PDT 2014


> On Jul 15, 2014, at 6:40 AM, Matthew Gardiner <mg11 at csr.com> wrote:
> 
> Hi folks,
> 
> I just fixed my kalimba gdbserver implementation of the qHostInfo response.
> 
> Instead of using:
> triple:kalimba-csr-unknown;
> 
> I now reply with:
> triple:6b616c696d62612d6373722d756e6b6e6f776e00;
> 
> after reading the comment in GDBRemoteCommunicationClient::GetHostInfo better and reading the code in StringExtractor.
> 
> My guess, now, is that we send it as hex bytes because we must not send '-' characters in the GDB-RSP stream. Is that because '-' is GDB_RSPs NACK character?

You are correct.

> 
> thanks
> 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.
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev




More information about the lldb-dev mailing list