diff man/building.texi @ 79263:e1394a662145

(Watch Expressions): Describe gdb-delete-out-of-scope.
author Nick Roberts <nickrob@snap.net.nz>
date Tue, 30 Oct 2007 05:54:58 +0000
parents 25fa3be251af
children d80c84a0912f
line wrap: on
line diff
--- a/man/building.texi	Tue Oct 30 05:53:13 2007 +0000
+++ b/man/building.texi	Tue Oct 30 05:54:58 2007 +0000
@@ -1117,6 +1117,15 @@
 scope less noticeable.  When a variable goes out of scope you can't
 edit its value.
 
+@vindex gdb-delete-out-of-scope
+  If the variable @code{gdb-delete-out-of-scope} is
+non-@code{nil} (the default value), Emacs automatically deletes watch
+expressions which go out of scope.  This is safest because GDB may
+think that a variable in a new frame is an old one that previously
+went of of scope.  Sometimes, when re-entering the same function,
+it may be useful to set this value to nil so that you don't need to
+recreate the watch expression.
+
 @vindex gdb-use-colon-colon-notation
   If the variable @code{gdb-use-colon-colon-notation} is
 non-@code{nil}, Emacs uses the @samp{@var{function}::@var{variable}}