I am now using linux developing c++ program. the workbench is windows connecting linux workstation console through putty. I set lot of breakpoint in the program, using gdb to debug program is very powerful:) But I do not no how to save breakpoint, so the next time when “gdb ./MyProg” the breakpoint information is lost,“info breakpoint” show no breakpoint, It puzzled me lot of day. Can anybody give some advice? Thanks first.
I am now using linux developing c++ program. the workbench is windows connecting linux
Share
According to the GDB Manual, you can use the command:
To save them to , and then:
To load them.
If the break points are not yet loaded, you may want to tell gdb to allow loading those breakpoints later.