Public Member Functions | |
def | __init__ |
def | flags_to_string |
def | owner_to_string |
def | struct_field_location_img |
def | struct_field_img |
def | bounds_img |
def | type_specific_img |
def | to_string |
Public Attributes | |
val |
Pretty-print an objet of type main_type
Definition at line 124 of file gdb-gdb.py.
def gdb-gdb.StructMainTypePrettyPrinter.__init__ | ( | self, | |
val | |||
) |
Definition at line 126 of file gdb-gdb.py.
def gdb-gdb.StructMainTypePrettyPrinter.bounds_img | ( | self | ) |
Return an image of the main_type bounds.
Definition at line 181 of file gdb-gdb.py.
def 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 128 of file gdb-gdb.py.
def gdb-gdb.StructMainTypePrettyPrinter.owner_to_string | ( | self | ) |
Return an image of component "owner".
Definition at line 142 of file gdb-gdb.py.
def gdb-gdb.StructMainTypePrettyPrinter.struct_field_img | ( | self, | |
fieldno | |||
) |
Return an image of the main_type field number FIELDNO.
Definition at line 167 of file gdb-gdb.py.
def 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 149 of file gdb-gdb.py.
def gdb-gdb.StructMainTypePrettyPrinter.to_string | ( | self | ) |
Return a pretty-printed image of our main_type.
Definition at line 217 of file gdb-gdb.py.
def gdb-gdb.StructMainTypePrettyPrinter.type_specific_img | ( | self | ) |
Return a string image of the main_type type_specific union. Only the relevant component of that union is printed (based on the value of the type_specific_kind field.
Definition at line 192 of file gdb-gdb.py.
gdb-gdb.StructMainTypePrettyPrinter::val |
Definition at line 126 of file gdb-gdb.py.