[Lldb-commits] [PATCH] D33998: Add pretty-printer for wait(2) statuses and modernize the code handling them

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 7 09:36:09 PDT 2017


labath created this revision.
Herald added a subscriber: mgorny.

A number of places were trying to decode the result of wait(). Add a simple
utility function that does that and a struct that encapsulates the
decoded result. Then also provide a pretty-printer for that class.


https://reviews.llvm.org/D33998

Files:
  include/lldb/Host/Host.h
  include/lldb/Host/common/NativeProcessProtocol.h
  include/lldb/lldb-private-enumerations.h
  source/Host/common/Host.cpp
  source/Host/common/NativeProcessProtocol.cpp
  source/Plugins/Process/Darwin/NativeProcessDarwin.cpp
  source/Plugins/Process/Linux/NativeProcessLinux.cpp
  source/Plugins/Process/Linux/NativeProcessLinux.h
  source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
  source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  unittests/Host/CMakeLists.txt
  unittests/Host/HostTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33998.101758.patch
Type: text/x-patch
Size: 22950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170607/ba290f6e/attachment-0001.bin>


More information about the lldb-commits mailing list