嵌入式學習心得(七)

<1>.gdb調試 + -g 選項函數 gcc -g test.c -o testui gdb testspa 命令欄:調試 1.run 運行it 2.list 編譯 3.quit (q)退出程序test 4.next (n)逐步執行,不進入子函數變量 5.break + 行數  打斷點gcc 6. print + 變量名  打印變量名file 7. continue 運行結束 8.info br
相關文章
相關標籤/搜索