diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-09-28 15:57:37 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-09-28 15:57:37 +0000 |
commit | faa63ce2a2dd91ba8fe3dbff7f7b25b28e095c19 (patch) | |
tree | c883a7e9e3c788c024f71a332803af18b213e4c1 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | 6c9530b808dfe55a8ecfcce991eaacdf62ed9ecc (diff) | |
download | bcm5719-llvm-faa63ce2a2dd91ba8fe3dbff7f7b25b28e095c19.tar.gz bcm5719-llvm-faa63ce2a2dd91ba8fe3dbff7f7b25b28e095c19.zip |
* Improve the wording (thanks to Ed Maste for the suggestion)
* Add a TODO item
llvm-svn: 191620
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp index 47223f14575..df036cdcc8e 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp @@ -762,10 +762,12 @@ GDBRemoteCommunicationServer::Handle_qLaunchGDBServer (StringExtractorGDBRemote char connect_url[PATH_MAX]; Error error; std::string hostname; + // TODO: /tmp/ should not be hardcoded. User might want to override /tmp + // with the TMPDIR environnement variable char unix_socket_name[PATH_MAX] = "/tmp/XXXXXX"; if (::mkstemp (unix_socket_name) == -1) { - error.SetErrorStringWithFormat("failed to make temporary path for a unix socket with errno: %s", strerror(errno)); + error.SetErrorStringWithFormat("failed to make temporary path for a unix socket: %s", strerror(errno)); } else { |