[Lldb-commits] [PATCH] D100256: [lldb] [gdb-remote server] Abstract away getting current process

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Apr 11 02:40:14 PDT 2021


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

Introduce a new GetCurrentProcess() function to abstract away getting
the current NativeProcessProtocol instance.  At this moment, this merely
streamlines checking for valid m_debugged_process_up.  However, this
lays foundations for the future multiprocess support.


https://reviews.llvm.org/D100256

Files:
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100256.336648.patch
Type: text/x-patch
Size: 34480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210411/d3892001/attachment-0001.bin>


More information about the lldb-commits mailing list