当前位置:网站首页>GDB code debugging

GDB code debugging

2022-07-05 06:38:00 techtitan

GDB

linux Source level debugging

  1. layout next

layout src Source code window
layout regs register window
focus cmd/src/asm/regs/next/prev
Update source window and current execution point
update

https://blog.csdn.net/weixin_41783335/article/details/103110159?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2aggregatepagefirst_rank_v2~rank_aggregation-14-103110159.pc_agg_rank_aggregation&utm_term=gdb%E8%B0%83%E8%AF%95%E4%BB%A3%E7%A0%81&spm=1000.2123.3001.4430

  1. gdb -tui The debugged program

 Insert picture description here

start x Stop at main Function place

原网站

版权声明
本文为[techtitan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140601221096.html