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
<shank...@codeaurora.org <mailto:shank...@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@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev