gdb question..

Is there any way to get gdb to run from a certain line of code or do you always have to start from the begining?
One easy way is to set a break point where you want to start debugging and let it run. Also, try "man gdb."
Do you mean you want to insert break point to a certain line? You can do
b number-of the-line
Or
b name-of-the-function-you-want-to-stop

http://www.yolinux.com/TUTORIALS/GDB-Commands.html
Topic archived. No new replies allowed.