[Lldb-commits] [PATCH] D12420: Make ProcessGDBRemote get a //copy// of platform Unix signals.

Chaoren Lin via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 27 18:08:00 PDT 2015


chaoren created this revision.
chaoren added reviewers: clayborg, jaydeep.
chaoren added a subscriber: lldb-commits.

Update to http://reviews.llvm.org/rL243618.

http://reviews.llvm.org/D12420

Files:
  source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Index: source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
===================================================================
--- source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -850,7 +850,7 @@
     {
         PlatformSP platform_sp = GetTarget().GetPlatform();
         if (platform_sp && platform_sp->IsConnected())
-            SetUnixSignals(platform_sp->GetUnixSignals());
+            SetUnixSignals(std::make_shared<GDBRemoteSignals>(platform_sp->GetUnixSignals()));
         else
             SetUnixSignals(UnixSignals::Create(GetTarget().GetArchitecture()));
     }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12420.33386.patch
Type: text/x-patch
Size: 650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150828/4abd2728/attachment.bin>


More information about the lldb-commits mailing list