summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2023-10-26 08:33:30 +0100
committerGitHub <noreply@github.com>2023-10-26 08:33:30 +0100
commitd1556e5efbf0cb671c0f6e403fc1eaf9153f8713 (patch)
treec23398a9584240aebab6af9de153069dfe63baab /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent46028022407d003b8af4ddf27a4679de4891f10d (diff)
[lldb][lldb-server] Enable sending RegisterFlags as XML (#69951)
This adds ToXML methods to encode RegisterFlags and its fields into XML according to GDB's target XML format: https://sourceware.org/gdb/onlinedocs/gdb/Target-Description-Format.html#Target-Description-Format lldb-server does not use libXML to build XML, so this follows the existing code that uses strings. Indentation is used so the result is still human readable. ``` <flags id=\"Foo\" size=\"4\"> <field name=\"abc\" start=\"0\" end=\"0\"/> </flags> ``` This is used by lldb-server when building target XML, though no one sets any fields yet. That'll come in a later commit.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions