# HG changeset patch # User Nick Roberts # Date 1193723698 0 # Node ID e1394a6621456062ca6d2d745da895b31987bbb9 # Parent 452dee639463763ddd6891d1f6ac9bc1db615566 (Watch Expressions): Describe gdb-delete-out-of-scope. diff -r 452dee639463 -r e1394a662145 man/building.texi --- 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}}