Debugger: Pass symbol file to LLDB and use it

Instead of guessing from the executable.

Change-Id: I5f57020446bc5e0f7915dac487a32d673eb97952
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-04-02 17:58:24 +02:00
parent 83ed1e3a7c
commit 80f3f34c96
2 changed files with 4 additions and 3 deletions

View File

@@ -279,6 +279,7 @@ void LldbEngine::setupEngine()
cmd2.arg("environment", rp.inferior.environment.toStringList());
cmd2.arg("processargs", toHex(QtcProcess::splitArgs(rp.inferior.commandLineArguments).join(QChar(0))));
cmd2.arg("platform", rp.platform);
cmd2.arg("symbolfile", rp.symbolFile);
if (terminal()) {
const qint64 attachedPID = terminal()->applicationPid();