Debugger: Combine some watch related GDB and LLDB code paths

Change-Id: I20e5f6f04418c931354a07bc3597f6982fcaf942
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-02-12 11:31:02 +01:00
parent cf21092ec5
commit f91cc66f9a
7 changed files with 52 additions and 73 deletions

View File

@@ -41,6 +41,7 @@
namespace Debugger {
namespace Internal {
class DebuggerCommand;
class SeparatedView;
class WatchModel;
@@ -74,7 +75,7 @@ public:
int editType() const;
QColor color() const;
void formatRequests(QByteArray *out) const;
int requestedFormat() const;
void showInEditorHelper(QString *contents, int depth) const;
WatchItem *findItem(const QByteArray &iname);
void parseWatchData(const GdbMi &input);
@@ -211,7 +212,6 @@ public:
static QStringList watchedExpressions();
static QHash<QByteArray, int> watcherNames();
QByteArray expansionRequests() const;
QByteArray typeFormatRequests() const;
QByteArray individualFormatRequests() const;
@@ -234,6 +234,7 @@ public:
void setCurrentItem(const QByteArray &iname);
void updateWatchersWindow();
void appendFormatRequests(DebuggerCommand *cmd);
void insertData(const WatchData &data); // Convenience.
void insertData(const QList<WatchData> &list);