[RFA] Try2: Ignore breakpoints when reading memory.

Michael Snyder msnyder@specifix.com
Mon Feb 25 19:30:00 GMT 2008


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.





More information about the Gdb-patches mailing list