linux下gdb調試circle_x.c

終端使用gdb調試circle_x.c gdb就是GNU debugger 通過調試circle_x.c演示gdb調試器的使用。 調試使用的源碼circle_x.c 實現輸入半徑得到面積的功能。 源碼如圖示。 源碼實現效果如圖示。 生成可調試文件 通過gcc -g circle_x.c -o circle_x.debug命令生成可調試文件 gdb circle_x.debug進入調試環境 gdb
相關文章
相關標籤/搜索