[Lldb-commits] [lldb] 138c7ac - [lldb/GDBRemote] Fix obvious typo in error message.
Fred Riss via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 2 17:54:04 PST 2020
Author: Fred Riss
Date: 2020-03-02T17:53:39-08:00
New Revision: 138c7ac5b60fae9f4b048a268e069f3ed895a098
URL: https://github.com/llvm/llvm-project/commit/138c7ac5b60fae9f4b048a268e069f3ed895a098
DIFF: https://github.com/llvm/llvm-project/commit/138c7ac5b60fae9f4b048a268e069f3ed895a098.diff
LOG: [lldb/GDBRemote] Fix obvious typo in error message.
It's unlikely that `errno` is the value the user wants to see in this
error message.
Added:
Modified:
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 156f6f7f4fc9..72907a95f3ab 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -3123,7 +3123,7 @@ Status ProcessGDBRemote::EnableBreakpointSite(BreakpointSite *bp_site) {
if (m_gdb_comm.SupportsGDBStoppointPacket(eBreakpointSoftware)) {
if (error_no != UINT8_MAX)
error.SetErrorStringWithFormat(
- "error: %d sending the breakpoint request", errno);
+ "error: %d sending the breakpoint request", error_no);
else
error.SetErrorString("error sending the breakpoint request");
return error;
More information about the lldb-commits
mailing list