forked from qt-creator/qt-creator
Debugger: Use more FilePaths in module handling interface
Change-Id: Ie058b928900015d0f71776151547bf7ba32a62bf Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -263,7 +263,7 @@ void PdbEngine::removeBreakpoint(const Breakpoint &bp)
|
||||
notifyBreakpointRemoveOk(bp);
|
||||
}
|
||||
|
||||
void PdbEngine::loadSymbols(const QString &moduleName)
|
||||
void PdbEngine::loadSymbols(const FilePath &moduleName)
|
||||
{
|
||||
Q_UNUSED(moduleName)
|
||||
}
|
||||
@@ -300,10 +300,10 @@ void PdbEngine::refreshModules(const GdbMi &modules)
|
||||
handler->endUpdateAll();
|
||||
}
|
||||
|
||||
void PdbEngine::requestModuleSymbols(const QString &moduleName)
|
||||
void PdbEngine::requestModuleSymbols(const FilePath &moduleName)
|
||||
{
|
||||
DebuggerCommand cmd("listSymbols");
|
||||
cmd.arg("module", moduleName);
|
||||
cmd.arg("module", moduleName.path());
|
||||
runCommand(cmd);
|
||||
}
|
||||
|
||||
@@ -341,7 +341,7 @@ void PdbEngine::refreshSymbols(const GdbMi &symbols)
|
||||
symbol.name = item["name"].data();
|
||||
syms.append(symbol);
|
||||
}
|
||||
showModuleSymbols(moduleName, syms);
|
||||
showModuleSymbols(runParameters().inferior.command.executable().withNewPath(moduleName), syms);
|
||||
}
|
||||
|
||||
bool PdbEngine::canHandleToolTip(const DebuggerToolTipContext &) const
|
||||
|
||||
Reference in New Issue
Block a user