debugger: split BreakpointIndex into plugin and debugger specific part

Change-Id: I21d10cf42eb039c74475e106537b6e107d155196
Reviewed-on: http://codereview.qt.nokia.com/745
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-06-24 16:25:30 +02:00
committed by hjk
parent c4713f5ab2
commit c041286753
34 changed files with 563 additions and 456 deletions

View File

@@ -200,13 +200,13 @@ public:
virtual void createSnapshot();
virtual void updateAll();
typedef Internal::BreakpointId BreakpointId;
typedef Internal::BreakpointModelId BreakpointModelId;
virtual bool stateAcceptsBreakpointChanges() const { return true; }
virtual void attemptBreakpointSynchronization();
virtual bool acceptsBreakpoint(BreakpointId id) const = 0;
virtual void insertBreakpoint(BreakpointId id); // FIXME: make pure
virtual void removeBreakpoint(BreakpointId id); // FIXME: make pure
virtual void changeBreakpoint(BreakpointId id); // FIXME: make pure
virtual bool acceptsBreakpoint(BreakpointModelId id) const = 0;
virtual void insertBreakpoint(BreakpointModelId id); // FIXME: make pure
virtual void removeBreakpoint(BreakpointModelId id); // FIXME: make pure
virtual void changeBreakpoint(BreakpointModelId id); // FIXME: make pure
virtual bool acceptsDebuggerCommands() const { return true; }
virtual void assignValueInDebugger(const Internal::WatchData *data,
@@ -359,15 +359,15 @@ protected:
DebuggerRunControl *runControl() const;
static QString msgWatchpointByAddressTriggered(BreakpointId id,
static QString msgWatchpointByAddressTriggered(BreakpointModelId id,
int number, quint64 address);
static QString msgWatchpointByAddressTriggered(BreakpointId id,
static QString msgWatchpointByAddressTriggered(BreakpointModelId id,
int number, quint64 address, const QString &threadId);
static QString msgWatchpointByExpressionTriggered(BreakpointId id,
static QString msgWatchpointByExpressionTriggered(BreakpointModelId id,
int number, const QString &expr);
static QString msgWatchpointByExpressionTriggered(BreakpointId id,
static QString msgWatchpointByExpressionTriggered(BreakpointModelId id,
int number, const QString &expr, const QString &threadId);
static QString msgBreakpointTriggered(BreakpointId id,
static QString msgBreakpointTriggered(BreakpointModelId id,
int number, const QString &threadId);
static QString msgStopped(const QString &reason = QString());
static QString msgStoppedBySignal(const QString &meaning, const QString &name);