[lldb/Utility] YAML validation should be orthogonal to packet semantics.
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 3 Jan 2020 22:17:25 +0000 (14:17 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 3 Jan 2020 22:23:42 +0000 (14:23 -0800)
commitd2b19d455de22fe3c8aa192320e1ff9a4eb1a365
treeda9baae170d818bca1d3b3f6055c4af11ec17b2c
parent320b43c39f0eb636c84815ce463893b21befdc8f
[lldb/Utility] YAML validation should be orthogonal to packet semantics.

It's not up to YAML to validate the semantics of the GDB remote packet
struct. This is especially wrong here as there's nothing that says that
the amount of bytes transmitted  matches the packet payload size.
lldb/source/Utility/GDBRemote.cpp