This commit adds support for binary memory reads ($x) to lldb-server. It also removes the "0x"
prefix from the $x client packet, to make it more compatible with the old $m packet. This allows
us to use almost the same code for handling both packet types. I have verified that debugserver
correctly handles $x packets even without the leading "0x".
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
The new functionality gets picked up by the client and automatically used everywhere, so I'm not
really worried about testing it. A more important issue would be making sure that the legacy read
packet does not rot as it is now unused. I have added a test which makes sure both packets return
the same value (modulo hex-encoding), which should prevent that.