[Lldb-commits] [PATCH] D32930: New framework for lldb client-server communication tests.

Kamil Rytarowski via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 11 19:12:51 PDT 2017


krytarowski added inline comments.


================
Comment at: unittests/tools/lldb-server/tests/TestClient.cpp:70
+void TestClient::StopDebugger() {
+  Host::Kill(server_process_info.GetProcessID(), 15);
+}
----------------
jmajors wrote:
> labath wrote:
> > This is not portable.
> Is there a portable way of stopping?
`15` on my platform (NetBSD) is `SIGTERM`.

I've implemented similar feature in `NativeProcessNetBSD::Halt()`. Perhaps you can call `Halt()` as well?


https://reviews.llvm.org/D32930





More information about the lldb-commits mailing list