This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix problem with watchpoint test in gdb.base/commands.exp
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: fnf at redhat dot com, msnyder at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Thu, 2 May 2002 18:48:30 +0300 (IDT)
- Subject: Re: [RFA] Fix problem with watchpoint test in gdb.base/commands.exp
On Thu, 2 May 2002, Michael Elizabeth Chastain wrote:
> gdb.texinfo says:
>
> @value{GDBN} automatically deletes watchpoints that watch local
> (automatic) variables, or expressions that involve such variables, when
> they go out of scope, that is, when the execution leaves the block in
> which these variables were defined.
Btw, I think this is a misfeature: GDB should disable the watchpoints,
but not delete them.