Skip to content

[lldb] Correcting an error message. #141696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025
Merged

[lldb] Correcting an error message. #141696

merged 1 commit into from
May 28, 2025

Conversation

ashgti
Copy link
Contributor

@ashgti ashgti commented May 28, 2025

'isconnect' I assume was supposed to be 'disconnect'.

'isconnect' I assume was supposed to be 'disconnect'.
@ashgti ashgti requested a review from labath May 28, 2025 00:41
@ashgti ashgti requested a review from JDevlieghere as a code owner May 28, 2025 00:41
@llvmbot llvmbot added the lldb label May 28, 2025
@llvmbot
Copy link
Member

llvmbot commented May 28, 2025

@llvm/pr-subscribers-lldb

Author: John Harrison (ashgti)

Changes

'isconnect' I assume was supposed to be 'disconnect'.


Full diff: https://github.com/llvm/llvm-project/pull/141696.diff

1 Files Affected:

  • (modified) lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (+1-1)
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index c4c2a8aab3c98..adbf06b9a19a0 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -1567,7 +1567,7 @@ Status GDBRemoteCommunicationClient::Detach(bool keep_stopped,
   PacketResult packet_result =
       SendPacketAndWaitForResponse(packet.GetString(), response);
   if (packet_result != PacketResult::Success)
-    error = Status::FromErrorString("Sending isconnect packet failed.");
+    error = Status::FromErrorString("Sending disconnect packet failed.");
   return error;
 }
 

@ashgti ashgti merged commit 16bbfe1 into llvm:main May 28, 2025
10 of 11 checks passed
@ashgti ashgti deleted the error-msg branch May 28, 2025 04:35
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Jun 3, 2025
'isconnect' I assume was supposed to be 'disconnect'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants