multiple breakpoint - is "Cannot insert breakpoint <..>. Error accessing memory address <..>" correct for location?
Vladimir Prus
ghost@cs.msu.su
Fri Apr 4 16:01:00 GMT 2008
Bogdan Slusarczyk wrote:
> 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.".
Why does this error happen?
> 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"?
This (last) message of course is nicer. The question is how it should work
via MI? If -break-insert as the whole is deemed done, then user might never
know that some of the locations cannot be inserted.
- Volodya
More information about the Gdb-patches
mailing list