debugger: refactoring in the gdbengine

This commit is contained in:
hjk
2009-09-11 12:30:53 +02:00
parent 7f54f9d339
commit 17f9204bba
7 changed files with 72 additions and 33 deletions

View File

@@ -36,6 +36,8 @@
namespace Debugger {
namespace Internal {
class GdbEngine;
// GdbProcessBase is inherited by GdbProcess and the gdb/trk Adapter.
// In the GdbProcess case it's just a wrapper around a QProcess running
// gdb, in the Adapter case it's the interface to the gdb process in
@@ -62,6 +64,8 @@ public:
virtual void setEnvironment(const QStringList &env) = 0;
virtual bool isAdapter() const = 0;
virtual void attach(GdbEngine *engine) const = 0;
signals:
void error(QProcess::ProcessError);
void started();