From bac75698d4860ae32e6e1acdd29cff44efa60fb1 Mon Sep 17 00:00:00 2001 From: Oleksiy Vyalov Date: Wed, 11 Mar 2015 18:13:37 +0000 Subject: Pass a process full executable path within "name" response field. http://reviews.llvm.org/D8239 llvm-svn: 231949 --- .../Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp index 389608e5ed9..0a2385f6f2c 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp @@ -1195,7 +1195,7 @@ GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse (const ProcessInst 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()) -- cgit v1.2.3