[Lldb-commits] [PATCH] D91634: [lldb] Error when there are no ports to launch a gdbserver on

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 26 04:05:05 PST 2020


DavidSpickett updated this revision to Diff 307822.
DavidSpickett added a comment.

- Use auto for map find
- Document PortMap functions
- Remove unnecessary casts
- Move tests to Process/gdb-remote
- Cleanup Expected asserts

The behaviour of AssociatePortWithProcess is a bit
non obvious (that it can move a port to a different pid)
but I'm not inclined to change it now.

So I've just added a FIXME to note that this usage
will probably fail if we do later share the PortMap.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91634/new/

https://reviews.llvm.org/D91634

Files:
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.h
  lldb/tools/lldb-server/lldb-platform.cpp
  lldb/unittests/Process/gdb-remote/CMakeLists.txt
  lldb/unittests/Process/gdb-remote/PortMapTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91634.307822.patch
Type: text/x-patch
Size: 14820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201126/16c9d4a8/attachment.bin>


More information about the lldb-commits mailing list