[Lldb-commits] [PATCH] Extend SBPlatform with capability to launch/terminate a process remotely. Integrate this change into test framework in order to spawn processes on a remote target.

Oleksiy Vyalov ovyalov at google.com
Thu Jan 29 12:37:13 PST 2015


Hi clayborg, vharron,

1. Added Platform::Kill call which raises SIGTERM signal in its base implementation and sends qKillSpawnedProcess request in case of PlatformRemoteGDBServer.
2. Extended SBPLatform with Launch and Kill methods.
3. A few fixes within GDBRemoteCommunicationClient and GDBRemoteCommunicationServer in order to properly deliver qProcessInfo response (disabling default PID caching).
4. Small utility class hierarchy in lldbtest - _BaseProcess, _LocalProcess and _RemoteProcess to manage process launch/termination depending on test mode.

http://reviews.llvm.org/D7263

Files:
  include/lldb/API/SBPlatform.h
  include/lldb/Target/Platform.h
  scripts/Python/interface/SBPlatform.i
  source/API/SBPlatform.cpp
  source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
  source/Target/Platform.cpp
  test/functionalities/process_attach/TestProcessAttach.py
  test/lldbtest.py

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7263.18981.patch
Type: text/x-patch
Size: 25544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150129/9089b337/attachment.bin>


More information about the lldb-commits mailing list