Commit 178430dc authored by Filipe Azevedo's avatar Filipe Azevedo

Fix inferior pid not being propagated

Change-Id: I373621f78bae04f7cdcc66fcf84712acb4245014
Reviewed-by: default avatarhjk <hjk@qt.io>
parent 821bc8cd
...@@ -105,6 +105,7 @@ public: ...@@ -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);
......
...@@ -488,6 +488,8 @@ void LldbEngine::handleResponse(const QString &response) ...@@ -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());
} }
} }
......
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