<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Well, it didn't take too long to run into issues:<div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><b><- qHostInfo</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><b>-> cputype:18;cpusubtype:9;ostype:unknown;vendor:fclout;endian:big;ptrsize:4</b></div></div><div><br></div><div><div>Assertion failed: (byte_order == m_host_arch.GetByteOrder()), function GetHostInfo, file /Users/felix/Projets/oss/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp, line 1235.</div><div>Abort trap: 6</div></div><div><br></div><div>Is that something no one did because it's gonna be hard and deep-reaching or because nobody had a use case for it?</div><div><br></div><div>Also, pretty early (shortly after receiving no information for qProcessInfo and qShlibInfoAddr), lldb asks for the 512 bytes located at 0xffff0000. What is it trying to accomplish?</div><div><br></div><div>That's where I stopped today. I might bug you guys again tomorrow :)</div><div><br></div><div>Félix</div><div><br><div><div>Le 2013-08-11 à 16:04:40, Félix Cloutier <<a href="mailto:felixcca@yahoo.ca">felixcca@yahoo.ca</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">Got it, working on that.<br><br>Does QStartNoAckMode also disable checksums? In every example in the file, checksums are #00 (and indeed lldb sends me packets with that same checksum), but there's no mention of that in the document.<br><br>Félix<br><br>Le 2013-08-10 à 14:49:13, "Malea, Daniel" <<a href="mailto:daniel.malea@intel.com">daniel.malea@intel.com</a>> a écrit :<br><br><blockquote type="cite">There is a text file in the doc/ directory that explains the LLDB enhancements to the GDB remote protocol.<br><br>Good luck,<br>Dan<br><br>On 2013-08-10, at 5:40 PM, "Félix Cloutier" <<a href="mailto:felixcca@yahoo.ca">felixcca@yahoo.ca</a>> wrote:<br><br><blockquote type="cite">I am developing an emulator program and I would like to implement a debugger stub (over TCP) to which I could connect using the remote debugging features of lldb to assist me. GDB documents its communication protocol, but I'm not a fan of how every concern happens at the same level (especially reliability), so I was hoping the LLDB protocol could be more modern.<br><br>Is there documentation for it? The commands seem to be declared in tools/debugserver/source/RNBRemote.h, but I don't expect to implement all of it and I'm not sure what's absolutely necessary and what's not so necessary, and I'm not sure how packets are formed.<br><br>Is this documented anywhere, or is the best way to grab the source and check for myself?<br><br>Félix<br>_______________________________________________<br>lldb-dev mailing list<br><a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev<br></blockquote></blockquote><br></blockquote></div><br></div></body></html>