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
This commit is contained in:
Hafiz Abid Qadeer 2015-02-06 11:06:41 +00:00
parent d858487edd
commit be86bb1e6a
1 changed files with 1 additions and 1 deletions

View File

@ -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;