hanchenye-llvm-project/lldb/tools/lldb-mi
Hafiz Abid Qadeer 5e9bfc671b [lldb-mi] Fix implementation for a few mi commands
Summary:
Some of the mi commands implemented in lldb-mi are incomplete/not confirming to the spec.
- `gdb-show` and `gdb-set` doesn't support getting/setting `disassembly-flavor`
- `environment-cd` should also change the working directory for inferior
- debugger CLI output should be printed as console-stream-output record, rather than being dumped directly
to stdout
- `target-select` should provide inner error message in mi response

Related bug report:
- https://llvm.org/bugs/show_bug.cgi?id=28026
- https://llvm.org/bugs/show_bug.cgi?id=28718
- https://llvm.org/bugs/show_bug.cgi?id=30265

Reviewers: ki.stfu, abidh

Subscribers: abidh, ki.stfu, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D24711

llvm-svn: 291104
2017-01-05 13:23:47 +00:00
..
CMakeLists.txt [CMake] Refactor LLDB libraries and tools to be components 2016-12-15 22:01:17 +00:00
MICmdArgContext.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgContext.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgSet.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgSet.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValBase.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValBase.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValConsume.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValConsume.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValFile.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValFile.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValListBase.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValListBase.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValListOfN.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValListOfN.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValNumber.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValNumber.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValOptionLong.cpp Fix parsing expressions to evaluate with spaces and optional args (MI) 2016-09-22 05:08:41 +00:00
MICmdArgValOptionLong.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValOptionShort.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValOptionShort.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValPrintValues.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValPrintValues.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValString.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValString.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValThreadGrp.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdArgValThreadGrp.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdBase.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdBase.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmd.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmd.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdBreak.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdBreak.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdData.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdData.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdEnviro.cpp [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
MICmdCmdEnviro.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdExec.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdExec.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdFile.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdFile.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdGdbInfo.cpp Make lldb -Werror clean on Windows. 2016-10-05 17:07:34 +00:00
MICmdCmdGdbInfo.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdGdbSet.cpp [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
MICmdCmdGdbSet.h [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
MICmdCmdGdbShow.cpp [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
MICmdCmdGdbShow.h [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
MICmdCmdGdbThread.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdGdbThread.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdMiscellanous.cpp [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
MICmdCmdMiscellanous.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdStack.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdStack.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdSupportInfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdSupportInfo.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdSupportList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdSupportList.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdSymbol.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdSymbol.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdTarget.cpp [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
MICmdCmdTarget.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdThread.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdThread.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdTrace.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdTrace.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdVar.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCmdVar.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCommands.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdCommands.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdData.cpp
MICmdData.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdFactory.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdFactory.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdInterpreter.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdInterpreter.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdInvoker.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdInvoker.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdMgr.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdMgr.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdMgrSetCmdDeleteCallback.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmdMgrSetCmdDeleteCallback.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnBase.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnBase.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnConfig.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBBroadcaster.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBBroadcaster.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBDebugSessionInfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBDebugSessionInfo.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBDebugSessionInfoVarObj.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBDebugSessionInfoVarObj.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBDebugger.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBDebugger.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBDebuggerHandleEvents.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBDebuggerHandleEvents.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBProxySBValue.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBProxySBValue.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLLDBUtilSBValue.cpp [LLDB-MI] Minor cleanup of CMICmnLLDBUtilSBValue class 2016-10-14 12:58:02 +00:00
MICmnLLDBUtilSBValue.h [LLDB-MI] Minor cleanup of CMICmnLLDBUtilSBValue class 2016-10-14 12:58:02 +00:00
MICmnLog.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLog.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLogMediumFile.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnLogMediumFile.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIOutOfBandRecord.cpp [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
MICmnMIOutOfBandRecord.h [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
MICmnMIResultRecord.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIResultRecord.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIValue.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIValue.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIValueConst.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIValueConst.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIValueList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIValueList.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIValueResult.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIValueResult.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIValueTuple.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnMIValueTuple.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnResources.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnResources.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnStreamStderr.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnStreamStderr.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnStreamStdin.cpp Fix build for mingw. 2016-12-15 15:00:41 +00:00
MICmnStreamStdin.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnStreamStdout.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnStreamStdout.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnThreadMgrStd.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MICmnThreadMgrStd.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIDataTypes.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIDriver.cpp Add MiSyntaxTestCase.test_lldbmi_output_grammar test (MI) 2016-09-12 07:14:51 +00:00
MIDriver.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIDriverBase.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIDriverBase.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIDriverMain.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIDriverMgr.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIDriverMgr.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIExtensions.txt test commit. 2015-12-07 19:08:15 +00:00
MIReadMe.txt
MIUtilDateTimeStd.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilDateTimeStd.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilDebug.cpp Fix build for mingw. 2016-12-15 15:00:41 +00:00
MIUtilDebug.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilFileStd.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilFileStd.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilMapIdToVariant.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilMapIdToVariant.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilSingletonBase.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilSingletonHelper.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilString.cpp Clean up some use of __ANDROID_NDK__ in the cmake files 2016-12-05 11:15:36 +00:00
MIUtilString.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilThreadBaseStd.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilThreadBaseStd.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilVariant.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
MIUtilVariant.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Platform.h Remove an unused type declaration. 2016-12-16 14:44:34 +00:00
lldb-Info.plist
lldb-mi.exports Only export public symbols with the cmake build. 2015-09-04 00:00:41 +00:00