[lldb] [gdb-server] Implement the vFile:fstat packet

Differential Revision: https://reviews.llvm.org/D107840
This commit is contained in:
Michał Górny
2021-08-10 18:36:11 +02:00
parent 21e2d7ce43
commit 9e886fbb18
5 changed files with 143 additions and 0 deletions

View File

@@ -339,6 +339,8 @@ StringExtractorGDBRemote::GetServerPacketType() const {
return eServerPacketType_vFile_size;
else if (PACKET_STARTS_WITH("vFile:exists"))
return eServerPacketType_vFile_exists;
else if (PACKET_STARTS_WITH("vFile:fstat"))
return eServerPacketType_vFile_fstat;
else if (PACKET_STARTS_WITH("vFile:stat"))
return eServerPacketType_vFile_stat;
else if (PACKET_STARTS_WITH("vFile:mode"))