forked from qt-creator/qt-creator
debugger: make startGdb response handling asyncronous
This allows adapters to take all responses from the startup commands into account. Change-Id: I295cb211a4b69cfb8c59b34030aaee8120ffe98e Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -78,9 +78,15 @@ void CoreGdbAdapter::startAdapter()
|
||||
QStringList args;
|
||||
args.append(_("-ex"));
|
||||
args.append(_("set auto-solib-add off"));
|
||||
if (!m_engine->startGdb(args, QString()))
|
||||
return;
|
||||
m_engine->startGdb(args);
|
||||
}
|
||||
|
||||
void CoreGdbAdapter::handleGdbStartFailed()
|
||||
{
|
||||
}
|
||||
|
||||
void CoreGdbAdapter::handleGdbStartDone()
|
||||
{
|
||||
//if (m_executable.isEmpty()) {
|
||||
// showMessageBox(QMessageBox::Warning,
|
||||
// tr("Error Loading Symbols"),
|
||||
|
||||
Reference in New Issue
Block a user