forked from qt-creator/qt-creator
Debugger: Claim a few more capabilities for LLDB engine
This will need further fine tuning. Change-Id: Ia8926a73adfdf3de313cd379c4d6452b0af56ca0 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -1033,7 +1033,37 @@ void LldbEngine::refreshLocation(const GdbMi &reportedLocation)
|
||||
|
||||
bool LldbEngine::hasCapability(unsigned cap) const
|
||||
{
|
||||
return cap & (ReloadModuleCapability|BreakConditionCapability);
|
||||
if (cap & (ReverseSteppingCapability
|
||||
| AutoDerefPointersCapability
|
||||
| DisassemblerCapability
|
||||
| RegisterCapability
|
||||
| ShowMemoryCapability
|
||||
| JumpToLineCapability
|
||||
| ReloadModuleCapability
|
||||
| ReloadModuleSymbolsCapability
|
||||
| BreakOnThrowAndCatchCapability
|
||||
| BreakConditionCapability
|
||||
| TracePointCapability
|
||||
| ReturnFromFunctionCapability
|
||||
| CreateFullBacktraceCapability
|
||||
| WatchpointByAddressCapability
|
||||
| WatchpointByExpressionCapability
|
||||
| AddWatcherCapability
|
||||
| WatchWidgetsCapability
|
||||
| ShowModuleSymbolsCapability
|
||||
| ShowModuleSectionsCapability
|
||||
| CatchCapability
|
||||
| OperateByInstructionCapability
|
||||
| RunToLineCapability
|
||||
| WatchComplexExpressionsCapability
|
||||
| MemoryAddressCapability))
|
||||
return true;
|
||||
|
||||
if (startParameters().startMode == AttachCore)
|
||||
return false;
|
||||
|
||||
//return cap == SnapshotCapability;
|
||||
return false;
|
||||
}
|
||||
|
||||
DebuggerEngine *createLldbEngine(const DebuggerStartParameters &startParameters)
|
||||
|
||||
Reference in New Issue
Block a user