[lldb-dev] Question about remote debugging protocol setup

David Earlam David.Earlam at csr.com
Fri Apr 11 05:33:49 PDT 2014


>So I'm wondering why does lldb not send the qSupported request? Is it a deliberate omission or is this still a work in progress?
>
>All viewpoints appreciated,
>thanks Matt

Matt, 
I think source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient::GetRemoteQSupported () is lazily evaluated thanks to work by Steve Pucci in January (Thu 23/01/2014 21:04  [lldb-dev] [PATCH] new utility methods in GDBRemoteCommunicationClient)

That is, the qSupported is only sent when the debugger really needs to know about certain features like the SVR_4 library list - which  would be irrelevant on a platform with no ld.so dynamic linker. Lldb should  then start slightly faster than gdb for some scenarios.

David Earlam






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