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

Eli Zaretskii eliz@is.elta.co.il
Thu May 2 08:50:00 GMT 2002


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.



More information about the Gdb-patches mailing list