Skip to content

Commit edbb8a9

Browse files
committed
Fix copy/paste errors
1 parent 9c2db23 commit edbb8a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lldb/tools/lldb-mcp/lldb-mcp-Info.plist.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>English</string>
77
<key>CFBundleIdentifier</key>
8-
<string>com.apple.lldb-dap</string>
8+
<string>com.apple.lldb-mcp</string>
99
<key>CFBundleInfoDictionaryVersion</key>
1010
<string>6.0</string>
1111
<key>CFBundleName</key>
12-
<string>lldb-dap</string>
12+
<string>lldb-mcp</string>
1313
<key>CFBundleVersion</key>
1414
<string>${LLDB_VERSION}</string>
1515
<key>SecTaskAccess</key>

lldb/tools/lldb-mcp/lldb-mcp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ int main(int argc, char *argv[]) {
5353
fileno(stdin), File::eOpenOptionReadOnly, NativeFile::Unowned);
5454

5555
lldb::IOObjectSP output = std::make_shared<NativeFile>(
56-
fileno(stdout), File::eOpenOptionReadOnly, NativeFile::Unowned);
56+
fileno(stdout), File::eOpenOptionWriteOnly, NativeFile::Unowned);
5757

5858
constexpr llvm::StringLiteral client_name = "stdio";
5959
static MainLoop loop;
@@ -72,7 +72,7 @@ int main(int argc, char *argv[]) {
7272

7373
if (llvm::Error error = instance_up->Run()) {
7474
llvm::logAllUnhandledErrors(std::move(error), llvm::WithColor::error(),
75-
"DAP session error: ");
75+
"MCP error: ");
7676
return EXIT_FAILURE;
7777
}
7878

0 commit comments

Comments
 (0)