GdbEngine: Allow remote symbol files

They may be needed when running gdb itself remotely.

Change-Id: I57242e3111ab23701d197d26f1c3b12a9b3e96bd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2023-03-13 17:28:15 +01:00
parent 392cc524db
commit b077a105fa

View File

@@ -4369,7 +4369,7 @@ void GdbEngine::setupInferior()
setLinuxOsAbi();
QString symbolFile;
if (!rp.symbolFile.isEmpty())
symbolFile = rp.symbolFile.toFileInfo().absoluteFilePath();
symbolFile = rp.symbolFile.absoluteFilePath().path();
//const QByteArray sysroot = sp.sysroot.toLocal8Bit();
//const QByteArray remoteArch = sp.remoteArchitecture.toLatin1();