Merge branch 'master' of github.com:royqh1979/RedPanda-CPP

#	NEWS.md
This commit is contained in:
Roy Qu 2023-03-08 18:07:14 +08:00
commit 64eca05f7f
4 changed files with 8 additions and 4 deletions

View File

@ -13,7 +13,7 @@ Red Panda C++ Version 2.17
- enhancement: Improve the compatibility with Dev-C++ for project configuations saved by Redpanda-C++.
- enhancement: Syntax color support for binaray integer literals.
- enhancement: Syntax color support for suffix in integer/float literals.
- fix: Cpu info window is auto openned, when debug using gdb-server.
Red Panda C++ Version 2.16

View File

@ -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

View File

@ -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;
}

View File

@ -1028,7 +1028,7 @@ void MainWindow::setActiveBreakpoint(QString fileName, int Line, bool setFocus)
activateWindow();
}
} else {
pMainWindow->showCPUInfoDialog();
showCPUInfoDialog();
}
return;
}