Re: [RFA] Fix problem with watchpoint test in gdb.base/commands.exp

Eli Zaretskii
2002-05-02T15:50:34Z

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.