[Lldb-commits] [PATCH] Extend PipePosix with support for named pipes/timeout-based IO and integrate it with GDBRemoteCommunication / lldb-gdbserver.

Oleksiy Vyalov ovyalov at google.com
Tue Jan 13 12:08:37 PST 2015


Hi zturner, clayborg,

Make PipePosix to support next operations:
 - Create a named pipe.
 - Open reader and writer sides of a named pipe.
 - Timeout-based Read and Write operations.
 -  Added Delete call to PipeBase interface since named pipe removal differs for POSIX and Windows pipes.

Integrated Pipe class into GDBRemoteCommunication::StartDebugserverProcess and lldb-gdbserver in order to support reading and writing a port value to a named pipe.

http://reviews.llvm.org/D6954

Files:
  include/lldb/Host/PipeBase.h
  include/lldb/Host/posix/PipePosix.h
  include/lldb/Host/windows/PipeWindows.h
  lldb.xcodeproj/project.pbxproj
  source/Host/CMakeLists.txt
  source/Host/common/PipeBase.cpp
  source/Host/posix/PipePosix.cpp
  source/Host/windows/PipeWindows.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  tools/lldb-gdbserver/lldb-gdbserver.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6954.18102.patch
Type: text/x-patch
Size: 28731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150113/d4f59125/attachment.bin>


More information about the lldb-commits mailing list