llvm-project/lldb/tools/lldb-mi
Ilia K d84713bd86 Show error message from failed evaluation when doing -var-create
Summary:
When -var-create fails, we will now show the error message from the failed evaluation if it is available.

Patch from chuckr@microsoft.com

Test Plan: I fixed the MiVarTestCase.test_lldbmi_eval test to expect the new error string. All MI tests passing on OS X.

Reviewers: abidh, ChuckR

Subscribers: greggm, lldb-commits, paulmaybee

Differential Revision: http://reviews.llvm.org/D9691

llvm-svn: 237094
2015-05-12 06:15:16 +00:00
..
CMakeLists.txt Add -gdb-show and target-async option in -gdb-show command (MI) 2015-03-24 21:15:42 +00:00
MICmdArgContext.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgContext.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgSet.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgSet.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValBase.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValBase.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValConsume.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValConsume.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValFile.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValFile.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValListBase.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValListBase.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValListOfN.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValListOfN.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValNumber.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValNumber.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValOptionLong.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValOptionLong.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValOptionShort.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValOptionShort.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValString.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValString.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValThreadGrp.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdArgValThreadGrp.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdBase.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdBase.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmd.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmd.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdBreak.cpp Remove duplicated code in CMICmdCmdBreakInsert::Acknowledge (MI) 2015-05-08 12:11:13 +00:00
MICmdCmdBreak.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdData.cpp Escape strings in disassembly comments. 2015-05-12 05:55:23 +00:00
MICmdCmdData.h Fix LLDB-MI -data-read-memory-bytes command to comply with GDB/MI spec 2015-05-07 05:32:13 +00:00
MICmdCmdEnviro.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdEnviro.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdExec.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdExec.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdFile.cpp Changed a function to static. 2015-03-31 16:30:29 +00:00
MICmdCmdFile.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdGdbInfo.cpp expose 64 bit addresses through MI 2015-03-19 17:27:23 +00:00
MICmdCmdGdbInfo.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdGdbSet.cpp Add -gdb-set/-gdb-show aggregate-field-names option (MI) 2015-04-25 20:33:02 +00:00
MICmdCmdGdbSet.h Add -gdb-set/-gdb-show print char-array-as-string option (MI) 2015-04-25 19:44:56 +00:00
MICmdCmdGdbShow.cpp Add language option in -gdb-show command (MI) 2015-04-28 12:51:16 +00:00
MICmdCmdGdbShow.h Add language option in -gdb-show command (MI) 2015-04-28 12:51:16 +00:00
MICmdCmdGdbThread.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdGdbThread.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdMiscellanous.cpp Fix double stdout/stderr output from CLI commands in MI mode (MI) 2015-04-27 10:07:49 +00:00
MICmdCmdMiscellanous.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdStack.cpp Add support for -stack-list-variables. 2015-04-29 08:18:41 +00:00
MICmdCmdStack.h Add support for -stack-list-variables. 2015-04-29 08:18:41 +00:00
MICmdCmdSupportInfo.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdSupportInfo.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdSupportList.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdSupportList.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdSymbol.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdSymbol.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdTarget.cpp Implement -target-attach and -target-detach 2015-05-07 07:38:49 +00:00
MICmdCmdTarget.h Implement -target-attach and -target-detach 2015-05-07 07:38:49 +00:00
MICmdCmdThread.cpp Refactor CMICmnLLDBDebuggerHandleEvents/CMICmnLLDBDebugSessionInfo/CMICmnLLDBDebugSessionInfoVarObj (MI) 2015-04-09 11:17:54 +00:00
MICmdCmdThread.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdTrace.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdTrace.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdCmdVar.cpp Show error message from failed evaluation when doing -var-create 2015-05-12 06:15:16 +00:00
MICmdCmdVar.h Fix -var-list-children command (MI) 2015-05-08 10:10:14 +00:00
MICmdCommands.cpp Implement -target-attach and -target-detach 2015-05-07 07:38:49 +00:00
MICmdCommands.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdData.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdData.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdFactory.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdFactory.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdInterpreter.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdInterpreter.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdInvoker.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdInvoker.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdMgr.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdMgr.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdMgrSetCmdDeleteCallback.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmdMgrSetCmdDeleteCallback.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnBase.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnBase.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnConfig.h Make lldb-mi handle only MI commands 2015-03-18 10:07:46 +00:00
MICmnLLDBBroadcaster.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnLLDBBroadcaster.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnLLDBDebugSessionInfo.cpp Fix BP address for local symbols if target not launched (MI) 2015-05-08 12:06:17 +00:00
MICmnLLDBDebugSessionInfo.h Add support for -stack-list-variables. 2015-04-29 08:18:41 +00:00
MICmnLLDBDebugSessionInfoVarObj.cpp Fix MiGdbSetShowTestCase.test_lldbmi_gdb_set_ouptut_radix after r234476 2015-04-09 12:21:56 +00:00
MICmnLLDBDebugSessionInfoVarObj.h implement gdb-set output-radix 2015-04-07 09:47:23 +00:00
MICmnLLDBDebugger.cpp Remove quit hook in CMIDriver::DoMainLoop (MI) 2015-05-07 06:45:42 +00:00
MICmnLLDBDebugger.h Remove quit hook in CMIDriver::DoMainLoop (MI) 2015-05-07 06:45:42 +00:00
MICmnLLDBDebuggerHandleEvents.cpp Fix =breakpoint-created event after creation of BP (MI) 2015-05-08 12:18:11 +00:00
MICmnLLDBDebuggerHandleEvents.h Rework =shlibs-added/=shlibs-removed 2015-04-30 11:08:31 +00:00
MICmnLLDBProxySBValue.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnLLDBProxySBValue.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnLLDBUtilSBValue.cpp Add support for Unicode strings in CMICmnLLDBUtilSBValue::GetValue (MI) 2015-05-08 11:21:13 +00:00
MICmnLLDBUtilSBValue.h Add support for Unicode strings in CMICmnLLDBUtilSBValue::GetValue (MI) 2015-05-08 11:21:13 +00:00
MICmnLog.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnLog.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnLogMediumFile.cpp MI fix allowing multiple logging instances of lldb-mi to run simultaneously. 2015-04-23 12:48:42 +00:00
MICmnLogMediumFile.h MI fix allowing multiple logging instances of lldb-mi to run simultaneously. 2015-04-23 12:48:42 +00:00
MICmnMIOutOfBandRecord.cpp Rework =shlibs-added/=shlibs-removed 2015-04-30 11:08:31 +00:00
MICmnMIOutOfBandRecord.h Rework =shlibs-added/=shlibs-removed 2015-04-30 11:08:31 +00:00
MICmnMIResultRecord.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIResultRecord.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIValue.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIValue.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIValueConst.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIValueConst.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIValueList.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIValueList.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIValueResult.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIValueResult.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIValueTuple.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnMIValueTuple.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnResources.cpp Fix -break-insert without -f to cause an error if BP not resolved (MI) 2015-05-08 12:09:56 +00:00
MICmnResources.h Fix -break-insert without -f to cause an error if BP not resolved (MI) 2015-05-08 12:09:56 +00:00
MICmnStreamStderr.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnStreamStderr.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnStreamStdin.cpp Improve handling of ctrl-c with MSVC. 2015-04-27 15:04:42 +00:00
MICmnStreamStdin.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnStreamStdout.cpp Fix CMICmnStreamStdout::WritePriv which causes a stack overflow (MI) 2015-04-13 14:40:16 +00:00
MICmnStreamStdout.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnThreadMgrStd.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MICmnThreadMgrStd.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIDataTypes.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIDriver.cpp Add -s/--source option support (MI) 2015-05-07 06:51:46 +00:00
MIDriver.h Add -s/--source option support (MI) 2015-05-07 06:51:46 +00:00
MIDriverBase.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIDriverBase.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIDriverMain.cpp Remove redundant code from lldb-mi. 2015-03-24 14:07:25 +00:00
MIDriverMgr.cpp MI fix allowing multiple logging instances of lldb-mi to run simultaneously. 2015-04-23 12:48:42 +00:00
MIDriverMgr.h Remove redundant code from lldb-mi. 2015-03-24 14:07:25 +00:00
MIExtensions.txt Implement -target-attach and -target-detach 2015-05-07 07:38:49 +00:00
MIReadMe.txt Make lldb-mi handle only MI commands 2015-03-18 10:07:46 +00:00
MIUtilDateTimeStd.cpp MI fix allowing multiple logging instances of lldb-mi to run simultaneously. 2015-04-23 12:48:42 +00:00
MIUtilDateTimeStd.h MI fix allowing multiple logging instances of lldb-mi to run simultaneously. 2015-04-23 12:48:42 +00:00
MIUtilDebug.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilDebug.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilFileStd.cpp Changed a function to static. 2015-03-31 16:30:29 +00:00
MIUtilFileStd.h Changed a function to static. 2015-03-31 16:30:29 +00:00
MIUtilMapIdToVariant.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilMapIdToVariant.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilSingletonBase.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilSingletonHelper.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilString.cpp Add support for Unicode strings in CMICmnLLDBUtilSBValue::GetValue (MI) 2015-05-08 11:21:13 +00:00
MIUtilString.h Add support for Unicode strings in CMICmnLLDBUtilSBValue::GetValue (MI) 2015-05-08 11:21:13 +00:00
MIUtilSystemLinux.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilSystemLinux.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilSystemOsx.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilSystemOsx.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilSystemWindows.cpp MI fix allowing multiple logging instances of lldb-mi to run simultaneously. 2015-04-23 12:48:42 +00:00
MIUtilSystemWindows.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilThreadBaseStd.cpp Fix CMIUtilThreadActiveObjBase::ThreadIsActive when a thread has died (MI) 2015-04-25 21:20:00 +00:00
MIUtilThreadBaseStd.h Fix CMIUtilThreadActiveObjBase::ThreadIsActive when a thread has died (MI) 2015-04-25 21:20:00 +00:00
MIUtilVariant.cpp Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
MIUtilVariant.h Remove redundant comments from lldb-mi source files. 2015-03-16 18:18:18 +00:00
Makefile
Platform.cpp Improve handling of ctrl-c with MSVC. 2015-04-27 15:04:42 +00:00
Platform.h Fix PATH_MAX definition after remarks in r231917 (MI) 2015-03-12 04:18:47 +00:00
lldb-Info.plist