[lldb-dev] Increasing support for other gdbservers

Aidan Dodds aidan at codeplay.com
Thu Apr 2 06:59:16 PDT 2015


XML is sent by gdbserver to GDB when it communicates large bits of 
information like register layout and thread lists.
Since the aim is to increase compatibility with gdbserver, this isnt 
something we can change.

Yeah, I believe writing an robust XML parser will be non trivial an not 
justifiable in terms of time.  Like the others have
said since libxml2 is already used in other parts of the LLVM project, 
it doesn't make sense to buck this trend.

On 01/04/2015 19:13, Reid Kleckner wrote:
> On Wed, Apr 1, 2015 at 10:55 AM, Shankar Easwaran 
> <shankare at codeaurora.org <mailto:shankare at codeaurora.org>> wrote:
>
>     May be this is a stupid question, are there reasons that lldb
>     needs to use xml format ? Can it switch to using YAML ?
>
>     If not, may be having a XML parser like a YAML parser would be
>     useful inside of LLVM ??
>
>
> My (possibly uninformed) understanding is that XML is way more 
> complicated than YAML, and it's better to take an external dependency 
> than try to reinvent the wheel. YAML and JSON on the other hand are 
> super simple, so it's better to roll our own.
>
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150402/785dd441/attachment.html>


More information about the lldb-dev mailing list