forked from qt-creator/qt-creator
debugger: compile fix
Un-breaks cdb engine after 24177e67dea. Change-Id: Ibf99e1de4178a3d92a213266ecae490db437ca7a Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1087,9 +1087,10 @@ void CdbEngine::updateLocalVariable(const QByteArray &iname)
|
||||
postExtensionCommand(isWatch ? "watches" : "locals", localsArguments, 0, &CdbEngine::handleLocals);
|
||||
}
|
||||
|
||||
unsigned CdbEngine::debuggerCapabilities() const
|
||||
bool CdbEngine::hasCapability(unsigned cap) const
|
||||
{
|
||||
return DisassemblerCapability | RegisterCapability | ShowMemoryCapability
|
||||
return cap & (DisassemblerCapability | RegisterCapability
|
||||
| ShowMemoryCapability
|
||||
|WatchpointByAddressCapability|JumpToLineCapability|AddWatcherCapability|WatchWidgetsCapability
|
||||
|ReloadModuleCapability
|
||||
|BreakOnThrowAndCatchCapability // Sort-of: Can break on throw().
|
||||
@@ -1097,7 +1098,7 @@ unsigned CdbEngine::debuggerCapabilities() const
|
||||
|BreakModuleCapability
|
||||
|OperateByInstructionCapability
|
||||
|RunToLineCapability
|
||||
|MemoryAddressCapability;
|
||||
|MemoryAddressCapability);
|
||||
}
|
||||
|
||||
void CdbEngine::executeStep()
|
||||
|
||||
Reference in New Issue
Block a user