llvm-project/lldb/scripts/interface
Leonard Mosescu 17ffd39ed8 Implement interactive command interruption
The core of this change is the new CommandInterpreter::m_command_state,
which models the state transitions for interactive commands, including
an "interrupted" state transition.

In general, command interruption requires cooperation from the code
executing the command, which needs to poll for interruption requests
through CommandInterpreter::WasInterrupted().

CommandInterpreter::PrintCommandOutput() implements an optionally
interruptible printing of the command output, which for large outputs 
was likely the longest blocking part.
(ex. target modules dump symtab on a complex binary could take 10+ minutes)

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

llvm-svn: 315037
2017-10-05 23:41:28 +00:00
..
SBAddress.i
SBAttachInfo.i SBTarget::Attach(SBAttachInfo &) was changed to not be asynchronous back in February and this affected Xcode's abililty to cancel an attach to process by name. 2015-10-05 22:58:37 +00:00
SBBlock.i Make some more of the LLDB/SWIG/Python glue Python 3 aware. 2015-10-16 17:52:32 +00:00
SBBreakpoint.i Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
SBBreakpointLocation.i Add an auto-continue flag to breakpoints & locations. 2017-08-03 18:13:24 +00:00
SBBreakpointName.i Wire up the breakpoint name help string. 2017-09-15 00:52:35 +00:00
SBBroadcaster.i
SBCommandInterpreter.i Implement interactive command interruption 2017-10-05 23:41:28 +00:00
SBCommandReturnObject.i Fix FILE * leak in Python API 2016-03-25 23:40:32 +00:00
SBCommunication.i
SBCompileUnit.i Make some more of the LLDB/SWIG/Python glue Python 3 aware. 2015-10-16 17:52:32 +00:00
SBData.i Python 3 - Use six in our embedded Python glue code. 2015-11-11 17:59:57 +00:00
SBDebugger.i Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
SBDeclaration.i
SBError.i Fix TestTargetAPI.py test for users who use Swig 3.0.5 or greater. 2015-10-13 17:54:15 +00:00
SBEvent.i Make some more of the LLDB/SWIG/Python glue Python 3 aware. 2015-10-16 17:52:32 +00:00
SBExecutionContext.i
SBExpressionOptions.i fixits are apparently called fix-its. 2016-06-28 01:33:03 +00:00
SBFileSpec.i This patch stops lldb from loading a .lldbinit file from the current 2016-02-19 00:05:17 +00:00
SBFileSpecList.i
SBFrame.i Teach SBFrame how to guess its language. 2017-04-12 00:19:54 +00:00
SBFunction.i Fixed TypeMemberFunctionImpl to not use clang types directly but use the new CompilerDecl class to do the job in an abstract way. 2015-11-10 17:47:04 +00:00
SBHostOS.i This patch stops lldb from loading a .lldbinit file from the current 2016-02-19 00:05:17 +00:00
SBInstruction.i [LLDB][MIPS] Fix TestStepOverBreakpoint.py failure. 2017-05-04 11:34:42 +00:00
SBInstructionList.i [LLDB][MIPS] Fix TestStepOverBreakpoint.py failure. 2017-05-04 11:34:42 +00:00
SBLanguageRuntime.i
SBLaunchInfo.i
SBLineEntry.i Make some more of the LLDB/SWIG/Python glue Python 3 aware. 2015-10-16 17:52:32 +00:00
SBListener.i
SBMemoryRegionInfo.i Implement GetMemoryRegions() for Linux and Mac OSX core files. 2016-07-07 08:21:28 +00:00
SBMemoryRegionInfoList.i Add .i files for SBMemoryRegionInfo and SBMemoryRegionInfoList and also hook up the new calls in SBProcess that give out SBMemoryRegionInfo and SBMemoryRegionInfoList objects. 2016-06-24 23:40:35 +00:00
SBModule.i Fix typos in documentation. 2017-07-19 09:35:58 +00:00
SBModuleSpec.i
SBPlatform.i
SBProcess.i Expose process instance info via SB API 2017-08-01 07:34:26 +00:00
SBProcessInfo.i Expose process instance info via SB API 2017-08-01 07:34:26 +00:00
SBQueue.i
SBQueueItem.i
SBSection.i LLDB: API for iPermission of object file's sections 2016-09-08 12:22:56 +00:00
SBSourceManager.i add stop column highlighting support 2016-09-21 20:13:14 +00:00
SBStream.i
SBStringList.i
SBStructuredData.i Added new API to SBStructuredData class 2017-05-29 08:25:46 +00:00
SBSymbol.i Fix typos in documentation. 2017-07-19 09:35:58 +00:00
SBSymbolContext.i
SBSymbolContextList.i
SBTarget.i Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
SBThread.i Add logging to SBThread::GetInfoItemByPathAsString to 2017-02-02 03:02:51 +00:00
SBThreadCollection.i
SBThreadPlan.i Add a few more needed bits to the scripted thread plans. 2016-08-05 22:06:12 +00:00
SBTrace.i Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
SBTraceOptions.i Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
SBType.i Add SBType::GetArrayType() such that - given a type - one can make an array (of a given size) of that type 2016-08-30 20:39:58 +00:00
SBTypeCategory.i Add calls to the SB API to access the multi-language formatter category feature 2015-10-27 01:10:35 +00:00
SBTypeEnumMember.i
SBTypeFilter.i
SBTypeFormat.i
SBTypeNameSpecifier.i
SBTypeSummary.i
SBTypeSynthetic.i
SBUnixSignals.i
SBValue.i Fixed a typo in the example (getName -> GetName) 2017-08-24 18:01:50 +00:00
SBValueList.i Make some more of the LLDB/SWIG/Python glue Python 3 aware. 2015-10-16 17:52:32 +00:00
SBVariablesOptions.i
SBWatchpoint.i