Commit a84cf3eb authored by Joerg Bornemann's avatar Joerg Bornemann
Browse files

cdb plugin compile fix

Module::symbolsRead is an enum now.
parent 207e0062
......@@ -68,8 +68,10 @@ static inline void getBasicModuleParameters(const DEBUG_MODULE_PARAMETERS &p,
Module *module)
{
const QString hexPrefix = QLatin1String("0x");
module->symbolsRead = (p.Flags & DEBUG_MODULE_USER_MODE)
&& (p.SymbolType != DEBUG_SYMTYPE_NONE);
if ((p.Flags & DEBUG_MODULE_USER_MODE) && (p.SymbolType != DEBUG_SYMTYPE_NONE))
module->symbolsRead = Module::ReadOk;
else
module->symbolsRead = Module::ReadFailed;
module->startAddress = hexPrefix + QString::number(p.Base, 16);
module->endAddress = hexPrefix + QString::number((p.Base + p.Size), 16);
}
......
Supports Markdown
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