[all-commits] [llvm/llvm-project] ba822e: [LLDB] Format lldb-server's target XML
David Spickett via All-commits
all-commits at lists.llvm.org
Tue Sep 20 02:02:33 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba822e248d3a41aa334eb1b79396364ee251c10c
https://github.com/llvm/llvm-project/commit/ba822e248d3a41aa334eb1b79396364ee251c10c
Author: David Spickett <david.spickett at linaro.org>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
M lldb/test/API/tools/lldb-server/TestPtyServer.py
M lldb/test/API/tools/lldb-server/registers-target-xml-reading/TestGdbRemoteTargetXmlPacket.py
Log Message:
-----------
[LLDB] Format lldb-server's target XML
So that the XML isn't one giant line. Which wasn't
a problem for lldb but was for me trying to troubleshoot
it using the logs.
It now looks like:
```
<?xml version="1.0"?>
<target version="1.0">
<architecture>aarch64</architecture>
<feature>
<...>
<reg name="fpcr" .../>
</feature>
</target>
```
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D134035
More information about the All-commits
mailing list