[Lldb-commits] [lldb] r228389 - Give error on "-inferior-tty-set" command.
Hafiz Abid Qadeer
hafiz_abid at mentor.com
Fri Feb 6 03:06:42 PST 2015
Author: abidh
Date: Fri Feb 6 05:06:41 2015
New Revision: 228389
URL: http://llvm.org/viewvc/llvm-project?rev=228389&view=rev
Log:
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.
Modified:
lldb/trunk/tools/lldb-mi/MICmdCmdMiscellanous.cpp
Modified: lldb/trunk/tools/lldb-mi/MICmdCmdMiscellanous.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdCmdMiscellanous.cpp?rev=228389&r1=228388&r2=228389&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdCmdMiscellanous.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdCmdMiscellanous.cpp Fri Feb 6 05:06:41 2015
@@ -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;
More information about the lldb-commits
mailing list