On 01/19/2011 12:26 PM, Paul Pluzhnikov wrote: >>>> Cannot remove breakpoints because program is no longer writable.<-- [1] >>> >> >>> >> And that. >> > >> > It's output from infrun.c:normal_stop. Sounds like a bug somewhere. > It is a bug. Fix in progress... > FYI, I looked at this problem a little bit last week, and found this failure is caused by inserting multiple breakpoints at the same location in create_jit_event_breakpoint(). Patch attached can fix this failure, but I am not 100% clear why inserting multiple breakpoints causes this failure, and still lack of big picture of breakpoint. If this patch helps, take it away. If this patch is wrong, please ignore it. :-) -- Yao Qi