[Lldb-commits] [PATCH] D100196: [lldb] Introduce new stop reasons: fork and vfork

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 9 07:01:28 PDT 2021


mgorny created this revision.
mgorny added reviewers: labath, emaste, krytarowski.
mgorny requested review of this revision.

Introduce two new stop reasons for fork and vfork events.  This includes
server support for serializing fork/vfork events into gdb-remote
protocol, and client support for deserializing them.  The stop infos
for both events take a pair of PID and TID for the newly forked process.


https://reviews.llvm.org/D100196

Files:
  lldb/bindings/interface/SBThread.i
  lldb/bindings/interface/SBThreadPlan.i
  lldb/docs/python_api_enums.rst
  lldb/examples/python/performance.py
  lldb/include/lldb/API/SBThread.h
  lldb/include/lldb/API/SBThreadPlan.h
  lldb/include/lldb/Host/Debug.h
  lldb/include/lldb/Target/StopInfo.h
  lldb/include/lldb/lldb-enumerations.h
  lldb/packages/Python/lldbsuite/test/lldbutil.py
  lldb/source/API/SBThread.cpp
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  lldb/source/Target/Process.cpp
  lldb/source/Target/StackFrameList.cpp
  lldb/source/Target/StopInfo.cpp
  lldb/source/Target/Thread.cpp
  lldb/tools/lldb-vscode/JSONUtils.cpp
  lldb/tools/lldb-vscode/LLDBUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100196.336442.patch
Type: text/x-patch
Size: 15081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210409/e15abb22/attachment-0001.bin>


More information about the lldb-commits mailing list