fix gdb error message: Cannot remove breakpoints because program is no l...

...onger writable.