[Lldb-commits] [lldb] r231949 - Pass a process full executable path within "name" response field.

Oleksiy Vyalov ovyalov at google.com
Wed Mar 11 11:13:38 PDT 2015


Author: ovyalov
Date: Wed Mar 11 13:13:37 2015
New Revision: 231949

URL: http://llvm.org/viewvc/llvm-project?rev=231949&view=rev
Log:
Pass a process full executable path within "name" response field.

http://reviews.llvm.org/D8239

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp?rev=231949&r1=231948&r2=231949&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp Wed Mar 11 13:13:37 2015
@@ -1195,7 +1195,7 @@ GDBRemoteCommunicationServerCommon::Crea
                      proc_info.GetEffectiveUserID(),
                      proc_info.GetEffectiveGroupID());
     response.PutCString ("name:");
-    response.PutCStringAsRawHex8(proc_info.GetName());
+    response.PutCStringAsRawHex8(proc_info.GetExecutableFile().GetPath().c_str());
     response.PutChar(';');
     const ArchSpec &proc_arch = proc_info.GetArchitecture();
     if (proc_arch.IsValid())





More information about the lldb-commits mailing list