當(dāng)前位置:首頁(yè) > IT技術(shù) > 數(shù)據(jù)庫(kù) > 正文

pc端和rk3399 gdb調(diào)試
2021-09-17 11:56:58

pc端:
CMakeLists.txt
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s")

安裝gdb-multiarch
apt search gdb-multiarch
sudo apt install gdb-multiarch
which gdb-multiarch

工作空間.vscode目錄下添加launch.json文件

傳送可執(zhí)行文件到rk3399

vscode點(diǎn)擊運(yùn)行和調(diào)試


rk3399
gdbserver64 :1234 ./vendor/bin/robot_diagnostics

本文摘自 :https://www.cnblogs.com/

開(kāi)通會(huì)員,享受整站包年服務(wù)立即開(kāi)通 >