summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
diff options
context:
space:
mode:
authorOleksiy Vyalov <ovyalov@google.com>2015-03-11 18:13:37 +0000
committerOleksiy Vyalov <ovyalov@google.com>2015-03-11 18:13:37 +0000
commitbac75698d4860ae32e6e1acdd29cff44efa60fb1 (patch)
tree6ad95aef47ce50465c98568d97da31257ac54e13 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
parentd61a6fd8ed3c2547ba6896881f6b681afa9276ff (diff)
downloadbcm5719-llvm-bac75698d4860ae32e6e1acdd29cff44efa60fb1.tar.gz
bcm5719-llvm-bac75698d4860ae32e6e1acdd29cff44efa60fb1.zip
Pass a process full executable path within "name" response field.
http://reviews.llvm.org/D8239 llvm-svn: 231949
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp2
1 files changed, 1 insertions, 1 deletions
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())
OpenPOWER on IntegriCloud