forked from Imagelibrary/binutils-gdb
Add gdb.Type.optimized_out method.
gdb/ChangeLog: * NEWS: Mention gdb.Type.optimized_out method. * python/py-type.c (typy_optimized_out): New function. gdb/doc/ChangeLog: * python.texi: New method documented. gdb/testsuite/ChangeLog: * gdb.python/py-type.exp: New test.
This commit is contained in:
committed by
Doug Evans
parent
521f2feb98
commit
59fb7612dd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user