Re: [RFA] Try2: Ignore breakpoints when reading memory.

Michael Snyder
2008-02-25T19:19:59Z

On Sun, 2008-02-24 at 17:50 +0300, Vladimir Prus wrote:
> This patch is the immediate prerequisite for the
> patch that makes breakpoints always inserted.

Hmmm? Did I miss this discussion?

I'm not sure leaving breakpoints always inserted is a good idea.
If gdb becomes unexpectedly disconnected from the target/child,
these breakpoints become an instant problem, and even if you
can manage to re-connect, it's not a given that you can then
remove them.

This can already happen (eg. if you have a remote target, and
you lose the serial connection while the target is in a "run"
state), but it seems like this change would increase the
likelyhood of this happening.