forked from qt-creator/qt-creator
Fixes: debugger: remove some dead code
This commit is contained in:
@@ -1195,6 +1195,7 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
|
|||||||
if (isStoppedReason(reason) || reason.isEmpty()) {
|
if (isStoppedReason(reason) || reason.isEmpty()) {
|
||||||
if (m_modulesListOutdated) {
|
if (m_modulesListOutdated) {
|
||||||
reloadModules();
|
reloadModules();
|
||||||
|
QT_END_INCLUDE_NAMESPACE
|
||||||
m_modulesListOutdated = false;
|
m_modulesListOutdated = false;
|
||||||
}
|
}
|
||||||
// Need another round trip
|
// Need another round trip
|
||||||
@@ -1248,30 +1249,6 @@ void GdbEngine::handleAsyncOutput2(const GdbMi &data)
|
|||||||
{
|
{
|
||||||
qq->notifyInferiorStopped();
|
qq->notifyInferiorStopped();
|
||||||
|
|
||||||
//
|
|
||||||
// Breakpoints
|
|
||||||
//
|
|
||||||
//qDebug() << "BREAK ASYNC: " << data.toString();
|
|
||||||
//sendListBreakpoints();
|
|
||||||
//attemptBreakpointSynchronization();
|
|
||||||
//if (m_breakListOnStopNeeded)
|
|
||||||
// sendListBreakpoints();
|
|
||||||
|
|
||||||
// something reasonably 'invariant'
|
|
||||||
// Linux:
|
|
||||||
//"79*stopped,reason="end-stepping-range",reason="breakpoint-hit",bkptno="1",
|
|
||||||
//thread-id="1",frame={addr="0x0000000000405d8f",func="run1",
|
|
||||||
//args=[{name="argc",value="1"},{name="argv",value="0x7fffb7c23058"}],
|
|
||||||
//file="test1.cpp",fullname="/home/apoenitz/dev/work/test1/test1.cpp"
|
|
||||||
//,line="261"}"
|
|
||||||
// Mac: (but only sometimes)
|
|
||||||
// "82*stopped,bkpt={number="0",type="step
|
|
||||||
// resume",disp="keep",enabled="y",addr="0x43127171",at="<Find::
|
|
||||||
// Internal::FindToolWindow::invokeFindIncremental()
|
|
||||||
// +225>",thread="1",shlib="/Users/epreuss/dev/ide/main/bin/
|
|
||||||
// workbench.app/Contents/PlugIns/Trolltech/libFind.1.0.0.dylib",
|
|
||||||
// frame="0xbfffd800",thread="1",times="1"},
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Stack
|
// Stack
|
||||||
//
|
//
|
||||||
@@ -3461,8 +3438,6 @@ void GdbEngine::handleDumpCustomValue1(const GdbResultRecord &record,
|
|||||||
&& msg.startsWith("The program being debugged stopped while")
|
&& msg.startsWith("The program being debugged stopped while")
|
||||||
&& msg.contains("qDumpObjectData440")) {
|
&& msg.contains("qDumpObjectData440")) {
|
||||||
// Fake full stop
|
// Fake full stop
|
||||||
sendCommand("-file-list-exec-source-files", GdbQuerySources);
|
|
||||||
sendCommand("-break-list", BreakList);
|
|
||||||
sendCommand("p 0", GdbAsyncOutput2); // dummy
|
sendCommand("p 0", GdbAsyncOutput2); // dummy
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user