Author: David Spickett
Date: 2021-09-07T15:49:07Z
New Revision: a97efde54e6ccbd1b56ec1ae1b7899988ac240a0

URL: 
https://github.com/llvm/llvm-project/commit/a97efde54e6ccbd1b56ec1ae1b7899988ac240a0
DIFF: 
https://github.com/llvm/llvm-project/commit/a97efde54e6ccbd1b56ec1ae1b7899988ac240a0.diff

LOG: [lldb] Add missing newline to stderr output on failed attach

Added: 
    

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

Removed: 
    


################################################################################
diff  --git 
a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 
b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
index d40e5eb631e92..3b8ed86d9f372 100644
--- 
a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
+++ 
b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
@@ -335,7 +335,7 @@ Status 
GDBRemoteCommunicationServerLLGS::AttachToProcess(lldb::pid_t pid) {
   auto process_or = m_process_factory.Attach(pid, *this, m_mainloop);
   if (!process_or) {
     Status status(process_or.takeError());
-    llvm::errs() << llvm::formatv("failed to attach to process {0}: {1}", pid,
+    llvm::errs() << llvm::formatv("failed to attach to process {0}: {1}\n", 
pid,
                                   status);
     return status;
   }


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to