summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands')
-rw-r--r--lldb/source/Commands/CommandObjectPlatform.cpp2
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp
index 3a47c71a6fb..562572b4c75 100644
--- a/lldb/source/Commands/CommandObjectPlatform.cpp
+++ b/lldb/source/Commands/CommandObjectPlatform.cpp
@@ -1746,7 +1746,7 @@ public:
// Print out an usage syntax on an empty command line.
if (raw_command_line[0] == '\0') {
- result.GetOutputStream().Printf("%s\n", this->GetSyntax());
+ result.GetOutputStream().Printf("%s\n", this->GetSyntax().str().c_str());
return true;
}
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index bfed4ef48cc..ccab6eae9ad 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -1037,7 +1037,7 @@ protected:
}
} else if (m_options.m_until_addrs.empty()) {
result.AppendErrorWithFormat("No line number or address provided:\n%s",
- GetSyntax());
+ GetSyntax().str().c_str());
result.SetStatus(eReturnStatusFailed);
return false;
}
OpenPOWER on IntegriCloud