New GDB monitor command for Insight activation.

Created GdbHelpMonitorInfo.txt.in template for conditional commands
This commit is contained in:
Nav
2023-05-24 23:15:47 +01:00
parent 7eedc42cdc
commit d55756da72
7 changed files with 99 additions and 6 deletions

View File

@@ -34,9 +34,7 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
* See src/DebugServer/CMakeLists.txt for more.
*/
auto helpFile = QFile(
QString::fromStdString(
Services::PathService::compiledResourcesPath() + "/src/DebugServer/Gdb/Resources/GdbHelpMonitorInfo.txt"
)
QString::fromStdString(":/compiled/src/DebugServer/Gdb/Resources/GdbHelpMonitorInfo.txt")
);
if (!helpFile.open(QIODevice::ReadOnly)) {