[all-commits] [llvm/llvm-project] 3cd8d7: [lldb] Remote disk file/directory completion for p...
Gongyu Deng via All-commits
all-commits at lists.llvm.org
Mon Aug 24 08:56:42 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3cd8d7b1727f06a701f41764c1109e5d321284b3
https://github.com/llvm/llvm-project/commit/3cd8d7b1727f06a701f41764c1109e5d321284b3
Author: Gongyu Deng <gy_deng at icloud.com>
Date: 2020-08-24 (Mon, 24 Aug 2020)
Changed paths:
M lldb/docs/lldb-platform-packets.txt
M lldb/include/lldb/Interpreter/CommandCompletions.h
M lldb/include/lldb/Target/Platform.h
M lldb/include/lldb/Utility/StringExtractorGDBRemote.h
M lldb/source/Commands/CommandCompletions.cpp
M lldb/source/Commands/CommandObjectPlatform.cpp
M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.h
M lldb/source/Utility/StringExtractorGDBRemote.cpp
A lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteDiskFileCompletion.py
M lldb/test/API/functionalities/gdb_remote_client/gdbclientutils.py
A lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py
Log Message:
-----------
[lldb] Remote disk file/directory completion for platform commands
1. Extended the gdb-remote communication related classes with disk file/directory
completion functions;
2. Added two common completion functions RemoteDiskFiles and
RemoteDiskDirectories based on the functions above;
3. Added completion for these commands:
A. platform get-file <remote-file> <local-file>;
B. platform put-file <local-file> <remote-file>;
C. platform get-size <remote-file>;
D. platform settings -w <remote-dir>;
E. platform open file <remote-file>.
4. Added related tests for client and server;
5. Updated docs/lldb-platform-packets.txt.
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D85284
More information about the All-commits
mailing list