- fix: Cpu info window is auto openned, when debug using gdb-server.
This commit is contained in:
parent
d295ff8d11
commit
0c8f3a0f60
1
NEWS.md
1
NEWS.md
|
@ -10,6 +10,7 @@ Red Panda C++ Version 2.17
|
|||
- fix: After project's default encoding is changed in the project options dialog, all project files' encoding are wrongly setted to the new encoding.(They should be "Project default")
|
||||
- enhancement: Make project's default encoding setting in the project options dialog more user friendly.
|
||||
- fix: In project options dialog's file page, Project's default encoding name is not updated when it's changed.
|
||||
- fix: Cpu info window is auto openned, when debug using gdb-server.
|
||||
|
||||
Red Panda C++ Version 2.16
|
||||
|
||||
|
|
|
@ -1198,6 +1198,10 @@ void DebugReader::processExecAsyncRecord(const QByteArray &line)
|
|||
}
|
||||
}
|
||||
runInferiorStoppedHook();
|
||||
if (reason.isEmpty() && mCurrentFunc == "_start" && mCurrentFile.isEmpty()) {
|
||||
//gdb-server connected, just ignore it
|
||||
return;
|
||||
}
|
||||
if (mCurrentCmd && mCurrentCmd->source == DebugCommandSource::Console)
|
||||
emit inferiorStopped(mCurrentFile, mCurrentLine, false);
|
||||
else
|
||||
|
|
|
@ -213,8 +213,8 @@ bool GDBMIResultParser::parseStringValue(const char *&p, QByteArray& stringValue
|
|||
}
|
||||
QByteArray numStr(p,i);
|
||||
bool ok;
|
||||
unsigned char ch = numStr.toInt(&ok,8);
|
||||
stringValue+=ch;
|
||||
char ch = numStr.toInt(&ok,8);
|
||||
stringValue.append(ch);
|
||||
p+=i;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1028,7 +1028,7 @@ void MainWindow::setActiveBreakpoint(QString fileName, int Line, bool setFocus)
|
|||
activateWindow();
|
||||
}
|
||||
} else {
|
||||
pMainWindow->showCPUInfoDialog();
|
||||
showCPUInfoDialog();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue