summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorOleksiy Vyalov <ovyalov@google.com>2015-02-06 19:56:33 +0000
committerOleksiy Vyalov <ovyalov@google.com>2015-02-06 19:56:33 +0000
commit8379068941f08e89822c3245369ed52c45bc8a5e (patch)
tree7fcdfdcb35942784afe586915b5784a8d7c0f63b /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parentdb4d6457140fae179769b3e7acbc22c3257e1970 (diff)
downloadbcm5719-llvm-8379068941f08e89822c3245369ed52c45bc8a5e.tar.gz
bcm5719-llvm-8379068941f08e89822c3245369ed52c45bc8a5e.zip
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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
index 1859260c2e1..dd920c0df0c 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
@@ -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 ());
OpenPOWER on IntegriCloud