<div dir="ltr">Hey Matthew,<div><br></div><div>> <span style="font-family:arial,sans-serif;font-size:12.727272033691406px">1. I've changed the base of cputype and cpusubtype to reflect the fact that the code assumes base-16, and furthermore to be consistent with qProcessInfo.</span></div>
<div><br></div><div>I'm looking at the debugserver code (RNBRemote.cpp) and lldb-platform/llgs code (GDBRemoteCommunicationServer.cpp) that produce those values. The cputype and cpusubtype all are being written decimal as far as a I read it. What context are you seeing hexadecimal?</div>
<div><br></div><div>Thanks!</div><div><br></div><div>-Todd</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 11, 2014 at 4:15 AM, Matthew Gardiner <span dir="ltr"><<a href="mailto:mg11@csr.com" target="_blank">mg11@csr.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I've made a couple of corrections to the documentation of the qHostInfo packet.<br>
<br>
1. I've changed the base of cputype and cpusubtype to reflect the fact that the code assumes base-16, and furthermore to be consistent with qProcessInfo.<br>
<br>
2. I've also added a description for "arch" which is parsed from the response, but was missing from the document.<br>
<br>
Could someone please apply my patch?<br>
<br>
thanks<br>
Matt<br>
<br>
(Patch attached)<br>
<br>
Index: docs/lldb-gdb-remote.txt<br>
==============================<u></u>==============================<u></u>=======<br>
--- docs/lldb-gdb-remote.txt (revision 210650)<br>
+++ docs/lldb-gdb-remote.txt (working copy)<br>
@@ -523,10 +523,11 @@<br>
<br>
Key value pairs are one of:<br>
<br>
-cputype: is a number that is the mach-o CPU type that is being debugged (base 10)<br>
-cpusubtype: is a number that is the mach-o CPU subtype type that is being debugged (base 10)<br>
+cputype: is a number that is the mach-o CPU type that is being debugged (base 16)<br>
+cpusubtype: is a number that is the mach-o CPU subtype type that is being debugged (base 16)<br>
triple: a string for the target triple (x86_64-apple-macosx) that can be used to specify arch + vendor + os in one entry<br>
vendor: a string for the vendor (apple), not needed if "triple" is specified<br>
+arch: a string for the architecture being debugged (i386, x86_64, unknown), not needed if "triple" is specified<br>
ostype: a string for the OS being debugged (darwin, linux, freebsd), not needed if "triple" is specified<br>
endian: is one of "little", "big", or "pdp"<br>
ptrsize: an unsigned number that represents how big pointers are in bytes on the debug target<br>
<br>
<br>
<br>
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<br>
More information can be found at <a href="http://www.csr.com" target="_blank">www.csr.com</a>. Keep up to date with CSR on our technical blog, <a href="http://www.csr.com/blog" target="_blank">www.csr.com/blog</a>, CSR people blog, <a href="http://www.csr.com/people" target="_blank">www.csr.com/people</a>, YouTube, <a href="http://www.youtube.com/user/CSRplc" target="_blank">www.youtube.com/user/CSRplc</a>, Facebook, <a href="http://www.facebook.com/pages/CSR/191038434253534" target="_blank">www.facebook.com/pages/CSR/<u></u>191038434253534</a>, or follow us on Twitter at <a href="http://www.twitter.com/CSR_plc" target="_blank">www.twitter.com/CSR_plc</a>.<br>
New for 2014, you can now access the wide range of products powered by aptX at <a href="http://www.aptx.com" target="_blank">www.aptx.com</a>.<br>
<br>_______________________________________________<br>
lldb-commits mailing list<br>
<a href="mailto:lldb-commits@cs.uiuc.edu">lldb-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small">
<td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>