Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* multiple breakpoint - is "Cannot insert breakpoint <..>. Error accessing  memory address <..>" correct for location?
@ 2008-04-04 15:52 Bogdan Slusarczyk
  2008-04-04 16:01 ` Vladimir Prus
  0 siblings, 1 reply; 2+ messages in thread
From: Bogdan Slusarczyk @ 2008-04-04 15:52 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: multiple breakpoint - is "Cannot insert breakpoint <..>. Error accessing  memory address <..>" correct for location?
  2008-04-04 15:52 multiple breakpoint - is "Cannot insert breakpoint <..>. Error accessing memory address <..>" correct for location? Bogdan Slusarczyk
@ 2008-04-04 16:01 ` Vladimir Prus
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Prus @ 2008-04-04 16:01 UTC (permalink / raw)
  To: gdb-patches

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-04 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-04 15:52 multiple breakpoint - is "Cannot insert breakpoint <..>. Error accessing memory address <..>" correct for location? Bogdan Slusarczyk
2008-04-04 16:01 ` Vladimir Prus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox