Commit 4dbb6ecd authored by hjk's avatar hjk

Android/Debugger: Always extract GDB version from binary

Change-Id: I19ab6e70a273e803b9755966e15253e006df3940
Reviewed-by: default avatarBogDan Vatra <bogdan@kdab.com>
parent 05739d1d
......@@ -1288,6 +1288,7 @@ void AndroidConfigurations::updateAutomaticKitList()
debugger.setUnexpandedDisplayName(tr("Android Debugger for %1").arg(tc->displayName()));
debugger.setAutoDetected(true);
debugger.setAbi(tc->targetAbi());
debugger.reinitializeFromFile();
QVariant id = Debugger::DebuggerItemManager::registerDebugger(debugger);
Debugger::DebuggerKitInformation::setDebugger(k, id);
}
......@@ -1334,6 +1335,7 @@ void AndroidConfigurations::updateAutomaticKitList()
debugger.setUnexpandedDisplayName(tr("Android Debugger for %1").arg(tc->displayName()));
debugger.setAutoDetected(true);
debugger.setAbi(tc->targetAbi());
debugger.reinitializeFromFile();
QVariant id = Debugger::DebuggerItemManager::registerDebugger(debugger);
Debugger::DebuggerKitInformation::setDebugger(newKit, id);
......
......@@ -101,9 +101,10 @@ public:
bool operator==(const DebuggerItem &other) const;
bool operator!=(const DebuggerItem &other) const { return !operator==(other); }
void reinitializeFromFile();
private:
DebuggerItem(const QVariant &id);
void reinitializeFromFile();
void initMacroExpander();
QVariant m_id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment