llvm-project/lldb/tools/lldb-mi
Ilia K 38810f430b Fix handling of hijacked events in synchronous mode
Summary:
This patch includes the following changes:
* Fix Target::Launch to handle hijacked event in synchronous mode
* Improve MiStartupOptionsTestCase tests to expect *stopped (MI)
* Add SBProcess::GetStopEventForStopID
* Add ProcessModID::SetStopEventForLastNaturalStopID/GetStopEventForStopID
* Add const qualifier to ProcessModID::GetLastNaturalStopID
* Add SBProcess::GetStopEventForStopID
* Don't broadcast hijacked event in Target::Launch
* Add CMICmnLLDBDebugger::CheckIfNeedToRebroadcastStopEvent/RebroadcastStopEvent

Test Plan: ./dotest.py -v --executable $BUILDDIR/bin/lldb tools/lldb-mi/startup_options/

Reviewers: zturner, jingham, clayborg, abidh

Reviewed By: clayborg

Subscribers: abidh, zturner, lldb-commits, clayborg, jingham

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

llvm-svn: 237781
2015-05-20 10:15:47 +00:00
..
CMakeLists.txt Fix parsing of print-values arg (MI) 2015-05-15 09:46:28 +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
MICmdArgValPrintValues.cpp Fix CMICmdArgValPrintValues::Validate & enable 4 tests that were XFAIL'ed in r237437 (MI) 2015-05-15 12:33:04 +00:00
MICmdArgValPrintValues.h Fix parsing of print-values arg (MI) 2015-05-15 09:46:28 +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 Fix parsing of print-values arg (MI) 2015-05-15 09:46:28 +00:00
MICmdCmdStack.h Fix parsing of print-values arg (MI) 2015-05-15 09:46:28 +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 Fix parsing of print-values arg (MI) 2015-05-15 09:46:28 +00:00
MICmdCmdVar.h Fix parsing of print-values arg (MI) 2015-05-15 09:46:28 +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 Set specific values for VariableInfoFormat_e enum and remove kNumVariableInfoFormats (MI) 2015-05-15 11:55:09 +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 Fix handling of hijacked events in synchronous mode 2015-05-20 10:15:47 +00:00
MICmnLLDBDebugger.h Fix handling of hijacked events in synchronous mode 2015-05-20 10:15:47 +00:00
MICmnLLDBDebuggerHandleEvents.cpp Don't print =breakpoint-created if BP info was emitted in the result record (MI) 2015-05-19 09:57:56 +00:00
MICmnLLDBDebuggerHandleEvents.h Fix a reason of *stopped notifications due to SIGINT/SIGSTOP signals (MI) 2015-05-15 09:29:09 +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 Refactor lldb-mi's prompt 2015-05-13 12:18:20 +00:00
MICmnStreamStdin.h Refactor lldb-mi's prompt 2015-05-13 12:18:20 +00:00
MICmnStreamStdout.cpp Refactor lldb-mi's prompt 2015-05-13 12:18:20 +00:00
MICmnStreamStdout.h Refactor lldb-mi's prompt 2015-05-13 12:18:20 +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 Fix handling of hijacked events in synchronous mode 2015-05-20 10:15:47 +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