forked from qt-creator/qt-creator
debugger: better remote debugging
Add option to specify location of debug information to dialog. Default is sysroot + usr/lib/debug. Change-Id: I8c2ab448f4aba9385da617d23419e521e3ae263c Reviewed-on: http://codereview.qt-project.org/4919 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -665,6 +665,8 @@ StartRemoteDialog::StartRemoteDialog(QWidget *parent, bool enableStartScript)
|
||||
m_ui->buttonBox->button(QDialogButtonBox::Ok)->setDefault(true);
|
||||
m_ui->debuggerPathChooser->setExpectedKind(PathChooser::File);
|
||||
m_ui->debuggerPathChooser->setPromptDialogTitle(tr("Select Debugger"));
|
||||
m_ui->debuginfoPathChooser->setExpectedKind(PathChooser::File);
|
||||
m_ui->debuginfoPathChooser->setPromptDialogTitle(tr("Select Location of Debugging Information"));
|
||||
m_ui->executablePathChooser->setExpectedKind(PathChooser::File);
|
||||
m_ui->executablePathChooser->setPromptDialogTitle(tr("Select Executable"));
|
||||
m_ui->sysrootPathChooser->setPromptDialogTitle(tr("Select Sysroot"));
|
||||
@@ -720,6 +722,16 @@ QString StartRemoteDialog::debugger() const
|
||||
return m_ui->debuggerPathChooser->path();
|
||||
}
|
||||
|
||||
void StartRemoteDialog::setDebugInfoLocation(const QString &location)
|
||||
{
|
||||
m_ui->debuginfoPathChooser->setPath(location);
|
||||
}
|
||||
|
||||
QString StartRemoteDialog::debugInfoLocation() const
|
||||
{
|
||||
return m_ui->debuginfoPathChooser->path();
|
||||
}
|
||||
|
||||
void StartRemoteDialog::setRemoteArchitectures(const QStringList &list)
|
||||
{
|
||||
m_ui->architectureComboBox->clear();
|
||||
|
||||
Reference in New Issue
Block a user