Re: breakpoint for accessing memory location

Eli Zaretskii
2006-10-22T04:20:31Z

> Date: Sun, 22 Oct 2006 00:27:48 +0200
> From: Erik Leunissen <e.leunissen@hccnet.nl>
> CC: gdb@sourceware.org
> > +when the value of an expression changes. The expression may be a value
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > +of a variable, or it could involve values of one or more variables
> ^^^^^^^^^^^^^
>
> We watch for a change in the value of the variable, OK. However the
> corresponding expression for that case simply holds the *name* of the
> variable, doesn't it?

Well, yes, but how far should we go in explaining the semantics of
programming languages? I mean, isn't it common knowledge that the
name of a variable stands for its value? When the manual says ``the
value of a variable'', what could the reader possibly think of except
the variable's name?