运行 无需在 QNX gdb 上重新上传的可执行文件

Running an executable without re-uploading it on QNX gdb

根据关于 https://www.qnx.com/developers/docs/6.4.1/neutrino/prog/using_gdb.html 的非常简短的文档,启动可执行文件进行调试的顺序是

target qnx ...
upload ...
run

即每次启动 gdb 会话时,我都被迫将文件上传到目标。有没有办法可以调试目标上已有的可执行文件?

找到了!

set nto-executable <path on target>