[Lldb-commits] [lldb] r356960 - [lldb] [Process/NetBSD] Use nullptr to fix template arg deduction

Michal Gorny via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 25 15:29:29 PDT 2019


Author: mgorny
Date: Mon Mar 25 15:29:29 2019
New Revision: 356960

URL: http://llvm.org/viewvc/llvm-project?rev=356960&view=rev
Log:
[lldb] [Process/NetBSD] Use nullptr to fix template arg deduction

Modified:
    lldb/trunk/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp

Modified: lldb/trunk/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp?rev=356960&r1=356959&r2=356960&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp (original)
+++ lldb/trunk/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp Mon Mar 25 15:29:29 2019
@@ -666,7 +666,7 @@ Status NativeProcessNetBSD::Attach() {
   // Need to use WALLSIG otherwise we receive an error with errno=ECHLD At this
   // point we should have a thread stopped if waitpid succeeds.
   if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid,
-          m_pid, NULL, WALLSIG)) < 0)
+          m_pid, nullptr, WALLSIG)) < 0)
     return Status(errno, eErrorTypePOSIX);
 
   /* Initialize threads */




More information about the lldb-commits mailing list