mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
gdb/python: add Type.is_scalar property
Add a new read-only property which is True for scalar types, otherwise, it's False.
This commit is contained in:
@ -1263,6 +1263,12 @@ The @code{gdb.Objfile} that this type was defined in, or @code{None} if
|
||||
there is no associated objfile.
|
||||
@end defvar
|
||||
|
||||
@defvar Type.is_scalar
|
||||
This property is @code{True} if the type is a scalar type, otherwise,
|
||||
this property is @code{False}. Examples of non-scalar types include
|
||||
structures, unions, and classes.
|
||||
@end defvar
|
||||
|
||||
The following methods are provided:
|
||||
|
||||
@defun Type.fields ()
|
||||
|
Reference in New Issue
Block a user