Debugger: Actually pass the debugger command from ToolChain.

Do not retrieve debugger command from ABI as that causes mismatches
when several toolchains of the same ABI are present.
Use indexes in the debugger dialogs.
Polish tooltip.
This commit is contained in:
Friedemann Kleint
2011-02-25 16:03:22 +01:00
parent 88f333267f
commit ed8dd0b031
9 changed files with 134 additions and 386 deletions

View File

@@ -85,8 +85,10 @@ public:
QString executableFile() const;
QString coreFile() const;
int abiIndex() const;
void setAbiIndex(int);
ProjectExplorer::Abi abi() const;
void setAbi(const ProjectExplorer::Abi &);
QString debuggerCommand();
private slots:
void changed();
@@ -108,8 +110,10 @@ public:
qint64 attachPID() const;
QString executable() const;
int abiIndex() const;
void setAbiIndex(int);
ProjectExplorer::Abi abi() const;
void setAbi(const ProjectExplorer::Abi &);
QString debuggerCommand();
virtual void accept();
@@ -173,8 +177,10 @@ public:
QString workingDirectory() const;
void setWorkingDirectory(const QString &str);
int abiIndex() const;
void setAbiIndex(int);
ProjectExplorer::Abi abi() const;
void setAbi(const ProjectExplorer::Abi &);
QString debuggerCommand();
bool breakAtMain() const;