Make lldb-platform to clear m_process_launch_info when hanlding qProcessInfo request - otherwise subsequent process launches will reuse data from previous launch.

llvm-svn: 228430
This commit is contained in:
Oleksiy Vyalov 2015-02-06 19:56:33 +00:00
parent db4d645714
commit 8379068941
1 changed files with 1 additions and 0 deletions

View File

@ -1452,6 +1452,7 @@ GDBRemoteCommunicationServer::Handle_qProcessInfo (StringExtractorGDBRemote &pac
else if (m_is_platform)
{
pid = m_process_launch_info.GetProcessID ();
m_process_launch_info.Clear ();
}
else
return SendUnimplementedResponse (packet.GetStringRef ().c_str ());