Fix inferior pid not being propagated

Change-Id: I373621f78bae04f7cdcc66fcf84712acb4245014
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Filipe Azevedo
2017-01-17 13:27:14 +01:00
parent 821bc8cdb1
commit 178430dcd1
2 changed files with 3 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ public:
QString toString(bool multiline = false, int indent = 0) const; QString toString(bool multiline = false, int indent = 0) const;
qulonglong toAddress() const; qulonglong toAddress() const;
int toInt() const { return m_data.toInt(); } int toInt() const { return m_data.toInt(); }
qint64 toLongLong() const { return m_data.toLongLong(); }
void fromString(const QString &str); void fromString(const QString &str);
void fromStringMultiple(const QString &str); void fromStringMultiple(const QString &str);

View File

@@ -488,6 +488,8 @@ void LldbEngine::handleResponse(const QString &response)
handleLocationNotification(item); handleLocationNotification(item);
else if (name == "output") else if (name == "output")
handleOutputNotification(item); handleOutputNotification(item);
else if (name == "pid")
notifyInferiorPid(item.toLongLong());
} }
} }