Add gdb.Type.optimized_out method.
[deliverable/binutils-gdb.git] / gdb / doc / python.texi
index 448fa8b2ec9bdb817a9b5399e7ad7f13bd04a580..12d2b71d040e214438ebf701e5b68907a8f53a04 100644 (file)
@@ -1060,6 +1060,11 @@ If @var{block} is given, then @var{name} is looked up in that scope.
 Otherwise, it is searched for globally.
 @end defun
 
+@defun Type.optimized_out ()
+Return @code{gdb.Value} instance of this type whose value is optimized
+out.  This allows a frame decorator to indicate that the value of an
+argument or a local variable is not known.
+@end defun
 
 Each type has a code, which indicates what category this type falls
 into.  The available type categories are represented by constants
This page took 0.024956 seconds and 4 git commands to generate.