summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-12-03 19:23:54 +0000
committeremaste <emaste@FreeBSD.org>2013-12-03 19:23:54 +0000
commite75cbd9d8d61004a7f53a7bc08490fa932daa589 (patch)
treeba627d06612b80ba6e3256d311edf689335b6603 /contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp
parent6221ad905044551fac57fb9353660c4e20e86c1d (diff)
parent0f31a1ef7ecf609d469ee5b34b3f0cb24ae3492d (diff)
downloadFreeBSD-src-e75cbd9d8d61004a7f53a7bc08490fa932daa589.zip
FreeBSD-src-e75cbd9d8d61004a7f53a7bc08490fa932daa589.tar.gz
Update LLDB to upstream r196259 snapshot
Sponsored by: DARPA, AFRL
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp')
-rw-r--r--contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp28
1 files changed, 16 insertions, 12 deletions
diff --git a/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp b/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp
index 6e32481..08e7af7 100644
--- a/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp
+++ b/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp
@@ -117,6 +117,7 @@ StringExtractorGDBRemote::GetServerPacketType () const
case 'G':
if (PACKET_STARTS_WITH ("qGroupName:")) return eServerPacketType_qGroupName;
+ if (PACKET_MATCHES ("qGetWorkingDir")) return eServerPacketType_qGetWorkingDir;
break;
case 'H':
@@ -133,9 +134,10 @@ StringExtractorGDBRemote::GetServerPacketType () const
break;
case 'P':
- if (PACKET_STARTS_WITH ("qProcessInfoPID:")) return eServerPacketType_qProcessInfoPID;
- if (PACKET_STARTS_WITH ("qPlatform_RunCommand:")) return eServerPacketType_qPlatform_RunCommand;
- if (PACKET_STARTS_WITH ("qPlatform_IO_MkDir:")) return eServerPacketType_qPlatform_IO_MkDir;
+ if (PACKET_STARTS_WITH ("qProcessInfoPID:")) return eServerPacketType_qProcessInfoPID;
+ if (PACKET_STARTS_WITH ("qPlatform_shell:")) return eServerPacketType_qPlatform_shell;
+ if (PACKET_STARTS_WITH ("qPlatform_mkdir:")) return eServerPacketType_qPlatform_mkdir;
+ if (PACKET_STARTS_WITH ("qPlatform_chmod:")) return eServerPacketType_qPlatform_chmod;
break;
@@ -151,15 +153,17 @@ StringExtractorGDBRemote::GetServerPacketType () const
case 'v':
if (PACKET_STARTS_WITH("vFile:"))
{
- if (PACKET_STARTS_WITH("vFile:open:")) return eServerPacketType_vFile_Open;
- else if (PACKET_STARTS_WITH("vFile:close:")) return eServerPacketType_vFile_Close;
- else if (PACKET_STARTS_WITH("vFile:pread")) return eServerPacketType_vFile_pRead;
- else if (PACKET_STARTS_WITH("vFile:pwrite")) return eServerPacketType_vFile_pWrite;
- else if (PACKET_STARTS_WITH("vFile:size")) return eServerPacketType_vFile_Size;
- else if (PACKET_STARTS_WITH("vFile:exists")) return eServerPacketType_vFile_Exists;
- else if (PACKET_STARTS_WITH("vFile:stat")) return eServerPacketType_vFile_Stat;
- else if (PACKET_STARTS_WITH("vFile:mode")) return eServerPacketType_vFile_Mode;
- else if (PACKET_STARTS_WITH("vFile:MD5")) return eServerPacketType_vFile_MD5;
+ if (PACKET_STARTS_WITH("vFile:open:")) return eServerPacketType_vFile_open;
+ else if (PACKET_STARTS_WITH("vFile:close:")) return eServerPacketType_vFile_close;
+ else if (PACKET_STARTS_WITH("vFile:pread")) return eServerPacketType_vFile_pread;
+ else if (PACKET_STARTS_WITH("vFile:pwrite")) return eServerPacketType_vFile_pwrite;
+ else if (PACKET_STARTS_WITH("vFile:size")) return eServerPacketType_vFile_size;
+ else if (PACKET_STARTS_WITH("vFile:exists")) return eServerPacketType_vFile_exists;
+ else if (PACKET_STARTS_WITH("vFile:stat")) return eServerPacketType_vFile_stat;
+ else if (PACKET_STARTS_WITH("vFile:mode")) return eServerPacketType_vFile_mode;
+ else if (PACKET_STARTS_WITH("vFile:MD5")) return eServerPacketType_vFile_md5;
+ else if (PACKET_STARTS_WITH("vFile:symlink")) return eServerPacketType_vFile_symlink;
+ else if (PACKET_STARTS_WITH("vFile:unlink")) return eServerPacketType_vFile_unlink;
}
break;
OpenPOWER on IntegriCloud