Fixup r278524 for non-apple targets
authorPavel Labath <labath@google.com>
Mon, 15 Aug 2016 09:17:13 +0000 (09:17 +0000)
committerPavel Labath <labath@google.com>
Mon, 15 Aug 2016 09:17:13 +0000 (09:17 +0000)
commitb3d1290c442e65ce06bb0983e3627081580f2551
treeacbba797b80f9fa6184d4f95a0a421afe06e8794
parent58156715b4038928c87615fcbb2c223e3c33a57f
Fixup r278524 for non-apple targets

The commit started passing a nullptr port into GDBRemoteCommunication::StartDebugserverProcess.
The function was mostly handling the null value correctly, but it one case it did not check it's
value before assigning to it. Fix that.

llvm-svn: 278662
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp