debugger: allow using a local core file with a remote kit

This is a common use case when examining core files from devices without
ssh access or "externally" created core files and used to work with 2.5.

Change-Id: Ie8ee5e2e0216c1e8c3265cf01e59f2c92d8730ef
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2012-10-22 11:14:18 +02:00
parent 78b4b8ae6e
commit 7728ed4af1
3 changed files with 61 additions and 30 deletions

View File

@@ -48,11 +48,15 @@ public:
explicit AttachCoreDialog(QWidget *parent);
~AttachCoreDialog();
int exec();
QString localExecutableFile() const;
QString localCoreFile() const;
QString remoteCoreFile() const;
QString overrideStartScript() const;
bool isLocal() const;
bool useLocalCoreFile() const;
bool forcesLocalCoreFile() const;
bool isLocalKit() const;
// For persistance.
ProjectExplorer::Kit *kit() const;
@@ -61,6 +65,7 @@ public:
void setRemoteCoreFile(const QString &core);
void setOverrideStartScript(const QString &scriptName);
void setKitId(const Core::Id &id);
void setForceLocalCoreFile(bool on);
private slots:
void changed();