Pass Abi when attaching debugger to application launched via 'Run'.

Task-number: QTCREATORBUG-5808

Change-Id: Id35e13fd71f4de7912070e90cda6add07200c7ae
Reviewed-on: http://codereview.qt.nokia.com/3069
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Friedemann Kleint
2011-08-17 09:06:59 +02:00
committed by hjk
parent fa0f114f74
commit b4afce82a6
3 changed files with 9 additions and 2 deletions

View File

@@ -534,6 +534,13 @@ QString RunControl::displayName() const
return m_displayName;
}
Abi RunControl::abi() const
{
if (const RunConfiguration *rc = m_runConfiguration.data())
return rc->abi();
return Abi();
}
ProcessHandle RunControl::applicationProcessHandle() const
{
return m_applicationProcessHandle;