multiple breakpoint - is "Cannot insert breakpoint <..>. Error accessing memory address <..>" correct for location?

Bogdan Slusarczyk bodzio131@op.pl
Fri Apr 4 15:52:00 GMT 2008


Hi, I have situation when gdb cannot set multiple breakpoint at specific 
location. Suppose I have breakpoint with number 1, which has 3 
locations, but one of them cannot be set. Gdb returns: "Cannot insert 
breakpoint 1. Error accessing memory address 0x111111.". I'm wondering 
that this message is ok, because it's not true that whole breakpoint 
cannot be set. Question is: will message "Cannot insert breakpoint 1.1" 
be ok? or something similar, maybe: "Cannot insert location 1.1"? 
Accurate location number will help if you want to for example disable 
such location. Can you suggest which way is better?

Regards,
Bogdan



More information about the Gdb-patches mailing list