文章作者: 盧宜良
openocd -f interface/stlink-v2-1.cfg -f target/stm32l4x.cfg
arm-none-eabi-gdb
target remote localhost:3333
file [elf file path]
monitor reset halt
l
b [file line]
c
GDB-Commands: http://www.yolinux.com/TUTORIALS/GDB-Commands.html
// l 列出程式碼
// c 運行至斷點
// b 設置斷點行數
// n 運行至下一行
// s 步進
GoMCU![[原創] NXP i.MX8QXP dev kit notes tutorial 開發紀錄教學-GoMCU](https://imxdev.gitlab.io/images/imx8qxp-top.jpg)