GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gdb-gdb.StructMainTypePrettyPrinter Class Reference

Public Member Functions

 __init__ (self, val)
 
 flags_to_string (self)
 
 owner_to_string (self)
 
 struct_field_location_img (self, field_val)
 
 struct_field_img (self, fieldno)
 
 bound_img (self, bound_name)
 
 bounds_img (self)
 
 type_specific_img (self)
 
 to_string (self)
 

Public Attributes

 val
 

Detailed Description

Pretty-print an objet of type main_type

Definition at line 123 of file gdb-gdb.py.

Constructor & Destructor Documentation

◆ __init__()

gdb-gdb.StructMainTypePrettyPrinter.__init__ ( self,
val )

Definition at line 126 of file gdb-gdb.py.

Member Function Documentation

◆ bound_img()

gdb-gdb.StructMainTypePrettyPrinter.bound_img ( self,
bound_name )

◆ bounds_img()

gdb-gdb.StructMainTypePrettyPrinter.bounds_img ( self)

◆ flags_to_string()

gdb-gdb.StructMainTypePrettyPrinter.flags_to_string ( self)
struct main_type contains a series of components that
are one-bit ints whose name start with "flag_".  For instance:
flag_unsigned, flag_stub, etc.  In essence, these components are
really boolean flags, and this method prints a short synthetic
version of the value of all these flags.  For instance, if
flag_unsigned and flag_static are the only components set to 1,
this function will return "unsigned|static".

Definition at line 129 of file gdb-gdb.py.

References type.fields(), gdb-gdb.TypeFlagsPrinter.val, gdb-gdb.StructTypePrettyPrinter.val, gdb-gdb.StructMainTypePrettyPrinter.val, ada_exp_YYSTYPE.val, watchpoint.val, c_exp_YYSTYPE.val, literal_def.val, d_exp_YYSTYPE.val, f_exp_YYSTYPE.val, frame_arg.val, go_exp_YYSTYPE.val, m2_exp_YYSTYPE.val, lval_closure.val, p_exp_YYSTYPE.val, typed_val_int.val, typed_val_float.val, mpfr_float_ops::gdb_mpfr.val, signed_field_s.val, and internalvar_data.val.

Referenced by gdb-gdb.StructMainTypePrettyPrinter.to_string().

◆ owner_to_string()

gdb-gdb.StructMainTypePrettyPrinter.owner_to_string ( self)

◆ struct_field_img()

gdb-gdb.StructMainTypePrettyPrinter.struct_field_img ( self,
fieldno )

◆ struct_field_location_img()

gdb-gdb.StructMainTypePrettyPrinter.struct_field_location_img ( self,
field_val )
Return an image of the loc component inside the given field
gdb.Value.

Definition at line 152 of file gdb-gdb.py.

Referenced by gdb-gdb.StructMainTypePrettyPrinter.struct_field_img().

◆ to_string()

gdb-gdb.StructMainTypePrettyPrinter.to_string ( self)

◆ type_specific_img()

gdb-gdb.StructMainTypePrettyPrinter.type_specific_img ( self)

Member Data Documentation

◆ val

gdb-gdb.StructMainTypePrettyPrinter.val

The documentation for this class was generated from the following file: