Commit e8598fa3 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: compile fix



Un-breaks cdb engine after 24177e67dea.

Change-Id: Ibf99e1de4178a3d92a213266ecae490db437ca7a
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 496e9faf
......@@ -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()
......
......@@ -98,7 +98,7 @@ public:
virtual void detachDebugger();
virtual void updateWatchData(const WatchData &data,
const WatchUpdateFlags & flags = WatchUpdateFlags());
virtual unsigned debuggerCapabilities() const;
virtual bool hasCapability(unsigned cap) const;
virtual void watchPoint(const QPoint &);
virtual void setRegisterValue(int regnr, const QString &value);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment