forked from qt-creator/qt-creator
Fixes: debugger: don't run -file-list-exec-source-files too often
This commit is contained in:
@@ -1194,8 +1194,6 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
|
|||||||
|
|
||||||
if (isStoppedReason(reason) || reason.isEmpty()) {
|
if (isStoppedReason(reason) || reason.isEmpty()) {
|
||||||
if (m_modulesListOutdated) {
|
if (m_modulesListOutdated) {
|
||||||
sendCommand("-file-list-exec-source-files", GdbQuerySources);
|
|
||||||
sendCommand("-break-list", BreakList);
|
|
||||||
reloadModules();
|
reloadModules();
|
||||||
m_modulesListOutdated = false;
|
m_modulesListOutdated = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user