debugger: unify naming of sysroot related variables and function

Change-Id: I77dd74ba7260622d9fec6cfca4a06d0f817495d8
Reviewed-on: http://codereview.qt.nokia.com/212
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-05-30 12:56:26 +02:00
committed by hjk
parent ef19691309
commit 2761e8da5a
8 changed files with 31 additions and 31 deletions

View File

@@ -167,7 +167,7 @@ void RemoteGdbServerAdapter::setupInferior()
QFileInfo fi(startParameters().executable);
fileName = fi.absoluteFilePath();
}
const QByteArray sysRoot = startParameters().sysRoot.toLocal8Bit();
const QByteArray sysroot = startParameters().sysroot.toLocal8Bit();
const QByteArray remoteArch = startParameters().remoteArchitecture.toLatin1();
const QByteArray gnuTarget = startParameters().gnuTarget.toLatin1();
const QByteArray solibPath =
@@ -178,8 +178,8 @@ void RemoteGdbServerAdapter::setupInferior()
m_engine->postCommand("set architecture " + remoteArch);
if (!gnuTarget.isEmpty())
m_engine->postCommand("set gnutarget " + gnuTarget);
if (!sysRoot.isEmpty())
m_engine->postCommand("set sysroot " + sysRoot);
if (!sysroot.isEmpty())
m_engine->postCommand("set sysroot " + sysroot);
if (!solibPath.isEmpty())
m_engine->postCommand("set solib-search-path " + solibPath);
if (!args.isEmpty())