summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2016-01-06 22:02:08 +0000
committerdim <dim@FreeBSD.org>2016-01-06 22:02:08 +0000
commit1545bf9b100bc129c54c444b1213bf9210d855f4 (patch)
tree9fb8b9926e8d68540a6874a42127d7bd873c505f /contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp
parent90a2cc030c5633b2f7afbfda628c7663ed19571e (diff)
downloadFreeBSD-src-1545bf9b100bc129c54c444b1213bf9210d855f4.zip
FreeBSD-src-1545bf9b100bc129c54c444b1213bf9210d855f4.tar.gz
Update lldb to trunk r256945.
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r--contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp b/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp
index 026ae35..57ec1c9 100644
--- a/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp
@@ -2577,8 +2577,9 @@ protected:
if (command.GetArgumentCount() == 0)
{
- result.AppendErrorWithFormat ("\nSyntax: %s\n", m_cmd_syntax.c_str());
+ result.AppendError ("file option must be specified.");
result.SetStatus (eReturnStatusFailed);
+ return result.Succeeded();
}
else
{
OpenPOWER on IntegriCloud