summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/gdb/coregdbadapter.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-05-30 12:56:26 +0200
committerhjk <qthjk@ovi.com>2011-05-30 12:59:08 +0200
commit2761e8da5a2167ff673a072435cdf9393aa8cae6 (patch)
tree3873b63507f7e2212a02bf121477eb94a78cd5f8 /src/plugins/debugger/gdb/coregdbadapter.cpp
parentef19691309b4bd90040e072311b784ec6c4e4e55 (diff)
downloadqt-creator-2761e8da5a2167ff673a072435cdf9393aa8cae6.tar.gz
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>
Diffstat (limited to 'src/plugins/debugger/gdb/coregdbadapter.cpp')
-rw-r--r--src/plugins/debugger/gdb/coregdbadapter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/gdb/coregdbadapter.cpp b/src/plugins/debugger/gdb/coregdbadapter.cpp
index c1fd588f1e..7527795c99 100644
--- a/src/plugins/debugger/gdb/coregdbadapter.cpp
+++ b/src/plugins/debugger/gdb/coregdbadapter.cpp
@@ -164,10 +164,10 @@ void CoreGdbAdapter::setupInferior()
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
// Do that first, otherwise no symbols are loaded.
QFileInfo fi(m_executable);
- const QByteArray sysRoot = startParameters().sysRoot.toLocal8Bit();
+ const QByteArray sysroot = startParameters().sysroot.toLocal8Bit();
QByteArray path = fi.absoluteFilePath().toLocal8Bit();
- if (!sysRoot.isEmpty())
- m_engine->postCommand("set sysroot " + sysRoot);
+ if (!sysroot.isEmpty())
+ m_engine->postCommand("set sysroot " + sysroot);
m_engine->postCommand("-file-exec-and-symbols \"" + path + '"',
CB(handleFileExecAndSymbols));
}