This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]