summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-02-06 11:06:41 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-02-06 11:06:41 +0000
commitbe86bb1e6ae27cc0fbe56b88a2b0cbb6bf30db5e (patch)
tree1df4cea802442fbc74c8abefe3026f650c178e75
parentd858487eddc6947db4b764f747b756e0413bad00 (diff)
downloadbcm5719-llvm-be86bb1e6ae27cc0fbe56b88a2b0cbb6bf30db5e.tar.gz
bcm5719-llvm-be86bb1e6ae27cc0fbe56b88a2b0cbb6bf30db5e.zip
Give error on "-inferior-tty-set" command.
This command is not implemented yet. Giving error gives chance to clients to handle it properly instead of falsely assuming the lldb-mi is supporting it. llvm-svn: 228389
-rw-r--r--lldb/tools/lldb-mi/MICmdCmdMiscellanous.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/lldb-mi/MICmdCmdMiscellanous.cpp b/lldb/tools/lldb-mi/MICmdCmdMiscellanous.cpp
index 03e05f3b005..4e4e1b986e8 100644
--- a/lldb/tools/lldb-mi/MICmdCmdMiscellanous.cpp
+++ b/lldb/tools/lldb-mi/MICmdCmdMiscellanous.cpp
@@ -588,7 +588,7 @@ CMICmdCmdInferiorTtySet::Execute(void)
bool
CMICmdCmdInferiorTtySet::Acknowledge(void)
{
- const CMICmnMIResultRecord miRecordResult(m_cmdData.strMiCmdToken, CMICmnMIResultRecord::eResultClass_Done);
+ const CMICmnMIResultRecord miRecordResult(m_cmdData.strMiCmdToken, CMICmnMIResultRecord::eResultClass_Error);
m_miResultRecord = miRecordResult;
return MIstatus::success;
OpenPOWER on IntegriCloud