[Lldb-commits] lldb-gdbserver.cpp does not compile

Paul Osmialowski newchief at king.net.pl
Sat Sep 20 08:15:20 PDT 2014


Guys,

After recent changes, lldb-gdbserver.cpp does not compile. Simple change 
solves the problem:

diff --git a/tools/lldb-gdbserver/lldb-gdbserver.cpp 
b/tools/lldb-gdbserver/lldb-gdbserver.cpp
index 368f862..7a08102 100644
--- a/tools/lldb-gdbserver/lldb-gdbserver.cpp
+++ b/tools/lldb-gdbserver/lldb-gdbserver.cpp
@@ -180,7 +180,7 @@ setup_platform (const std::string platform_name)
      }

      Error error;
-    platform_sp = Platform::Create (platform_name.c_str(), error);
+    platform_sp = Platform::Create 
(lldb_private::ConstString(platform_name), error);
      if (error.Fail ())
      {
          // the host platform isn't registered with that name (at




Best regards,
Paul




More information about the lldb-commits mailing list