Fix errors in 0b69756110db444282c40ea16929186b2910c3b1

Errors found in
https://lab.llvm.org/buildbot/#/builders/68/builds/9681/steps/6/logs/stdio

GitOrigin-RevId: a4ee79c8ae5ca1bbfa8d78a2782918d1f23f15b2
diff --git a/source/Target/Target.cpp b/source/Target/Target.cpp
index 7c62904..3aa1d30 100644
--- a/source/Target/Target.cpp
+++ b/source/Target/Target.cpp
@@ -3092,7 +3092,7 @@
       return llvm::createStringError(
           llvm::inconvertibleErrorCode(),
           "Couldn't start tracing the process. %s",
-          llvm::toString(trace_type.takeError()).c_str());
+          llvm::toString(trace_sp.takeError()).c_str());
   }
   return m_trace_sp;
 }
diff --git a/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp b/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
index 0a9a42a..4eeec62 100644
--- a/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
+++ b/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
@@ -417,7 +417,7 @@
     HandlePacket(server, "jLLDBTraceSupported", R"({"type":"intel-pt"}])");
 
     EXPECT_FALSE(result.get());
-    ASSERT_STREQ(error_message.c_str(), "missing value at (root).description");
+    ASSERT_STREQ(error_message.c_str(), "missing value at TraceSupportedResponse.description");
   }
 
   // Error response