This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Try2: Ignore breakpoints when reading memory.
- From: Michael Snyder <msnyder at specifix dot com>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 25 Feb 2008 11:19:32 -0800
- Subject: Re: [RFA] Try2: Ignore breakpoints when reading memory.
- References: <200802241750.41264.vladimir@codesourcery.com>
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.