aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorFred Riss <friss@apple.com>2020-03-02 17:52:30 -0800
committerFred Riss <friss@apple.com>2020-03-02 17:53:39 -0800
commit138c7ac5b60fae9f4b048a268e069f3ed895a098 (patch)
tree64d8682203e909d891523573236e53fe01658cbb /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent08ff4dc9ad962d0e2db8550deed31d0377e8d2e1 (diff)
downloadllvm-138c7ac5b60fae9f4b048a268e069f3ed895a098.zip
llvm-138c7ac5b60fae9f4b048a268e069f3ed895a098.tar.gz
llvm-138c7ac5b60fae9f4b048a268e069f3ed895a098.tar.bz2
[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.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 156f6f7..72907a9 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;