Revert "Fixes: debugger: disable automatic loading list of source files"

This reverts commit b99f3b61b4.
This commit is contained in:
dt
2009-03-10 14:01:10 +01:00
parent 46d507eed3
commit dcb43b04cc

View File

@@ -1140,7 +1140,7 @@ void GdbEngine::handleAqcuiredInferior()
#if defined(Q_OS_MAC)
sendCommand("info pid", GdbInfoProc, QVariant(), NeedsStop);
#endif
//reloadSourceFiles();
reloadSourceFiles();
tryLoadCustomDumpers();
#ifndef Q_OS_MAC
@@ -1297,7 +1297,7 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
frame.findChild("func").data() + '%';
QApplication::alert(q->mainWindow(), 3000);
//reloadSourceFiles();
reloadSourceFiles();
sendCommand("-break-list", BreakList);
QVariant var = QVariant::fromValue<GdbMi>(data);
sendCommand("p 0", GdbAsyncOutput2, var); // dummy