forked from qt-creator/qt-creator
debugger: replace artificial "{console,log}streamoutput" member in GdbMi
Use proper QByteArray member in GdbResponse instead. Less magic, and does not break array-style reponses where all children are assumed to be of the same "type". Change-Id: Ief1efdeb0412f59836e1b2d6f4cb751ddef3216e Reviewed-on: http://codereview.qt.nokia.com/1184 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -130,7 +130,6 @@ public:
|
||||
qulonglong toAddress() const;
|
||||
void fromString(const QByteArray &str);
|
||||
void fromStringMultiple(const QByteArray &str);
|
||||
void setStreamOutput(const QByteArray &name, const QByteArray &content);
|
||||
|
||||
private:
|
||||
friend class GdbResponse;
|
||||
@@ -170,6 +169,8 @@ public:
|
||||
GdbResultClass resultClass;
|
||||
GdbMi data;
|
||||
QVariant cookie;
|
||||
QByteArray logStreamOutput;
|
||||
QByteArray consoleStreamOutput;
|
||||
};
|
||||
|
||||
void extractGdbVersion(const QString &msg,
|
||||
|
||||
Reference in New Issue
Block a user