×

Loading...

First, use "b <line_number>" to setup a break point, after running to that point (using "run"), use "s" or "n". To get line number, use "list". You might need to take a good look at gdb's document :-)

dennis2 (Dennis)
http://www.gnu.org/manual/gdb-4.17/gdb.html
(#181192@0)
2001-8-27 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: How to trace into function step by step using gdb?How to set line number ?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论