Skip to content
Snippets Groups Projects
Commit a84cf3eb authored by Joerg Bornemann's avatar Joerg Bornemann
Browse files

cdb plugin compile fix

Module::symbolsRead is an enum now.
parent 207e0062
No related branches found
No related tags found
No related merge requests found
...@@ -68,8 +68,10 @@ static inline void getBasicModuleParameters(const DEBUG_MODULE_PARAMETERS &p, ...@@ -68,8 +68,10 @@ static inline void getBasicModuleParameters(const DEBUG_MODULE_PARAMETERS &p,
Module *module) Module *module)
{ {
const QString hexPrefix = QLatin1String("0x"); const QString hexPrefix = QLatin1String("0x");
module->symbolsRead = (p.Flags & DEBUG_MODULE_USER_MODE) if ((p.Flags & DEBUG_MODULE_USER_MODE) && (p.SymbolType != DEBUG_SYMTYPE_NONE))
&& (p.SymbolType != DEBUG_SYMTYPE_NONE); module->symbolsRead = Module::ReadOk;
else
module->symbolsRead = Module::ReadFailed;
module->startAddress = hexPrefix + QString::number(p.Base, 16); module->startAddress = hexPrefix + QString::number(p.Base, 16);
module->endAddress = hexPrefix + QString::number((p.Base + p.Size), 16); module->endAddress = hexPrefix + QString::number((p.Base + p.Size), 16);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment