Moved GdbHelpMonitorInfo.txt
This commit is contained in:
@@ -74,7 +74,6 @@ qt_add_resources(
|
|||||||
FILES
|
FILES
|
||||||
"./resources/bloom.template.yaml"
|
"./resources/bloom.template.yaml"
|
||||||
"./resources/help.txt"
|
"./resources/help.txt"
|
||||||
"./resources/gdbHelpMonitorInfo.txt"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|||||||
@@ -36,3 +36,14 @@ target_sources(
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/Gdb/AvrGdb/CommandPackets/FlashWrite.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/Gdb/AvrGdb/CommandPackets/FlashWrite.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/Gdb/AvrGdb/CommandPackets/FlashDone.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/Gdb/AvrGdb/CommandPackets/FlashDone.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# DebugServer resources
|
||||||
|
qt_add_resources(
|
||||||
|
Bloom
|
||||||
|
"DebugServerResources"
|
||||||
|
PREFIX
|
||||||
|
"/compiled/src/DebugServer"
|
||||||
|
FILES
|
||||||
|
# GDB RSP Server
|
||||||
|
"./Gdb/Resources/GdbHelpMonitorInfo.txt"
|
||||||
|
)
|
||||||
|
|||||||
@@ -28,11 +28,13 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
/*
|
/*
|
||||||
* The file gdbHelpMonitorInfo.txt is included in the binary image as a resource. See the root-level
|
* The file GdbHelpMonitorInfo.txt is included in the binary image as a resource.
|
||||||
* CMakeLists.txt for more.
|
* See src/DebugServer/CMakeLists.txt for more.
|
||||||
*/
|
*/
|
||||||
auto helpFile = QFile(
|
auto helpFile = QFile(
|
||||||
QString::fromStdString(Paths::compiledResourcesPath() + "/resources/gdbHelpMonitorInfo.txt")
|
QString::fromStdString(
|
||||||
|
Paths::compiledResourcesPath() + "/src/DebugServer/Gdb/Resources/GdbHelpMonitorInfo.txt"
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!helpFile.open(QIODevice::ReadOnly)) {
|
if (!helpFile.open(QIODevice::ReadOnly)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user