GDB (xrefs)
|
Public Member Functions | |
def | __init__ |
def | instantiate |
def | __init__ |
def | instantiate |
Public Attributes | |
name | |
enabled |
The base class for type printers. Instances of this type can be used to substitute type names during 'ptype'. A type printer must have at least 'name' and 'enabled' attributes, and supply an 'instantiate' method. The 'instantiate' method must either return None, or return an object which has a 'recognize' method. This method must accept a gdb.Type argument and either return None, meaning that the type was not recognized, or a string naming the type.
def gdb.types.TypePrinter.__init__ | ( | self, | |
name | |||
) |
Definition at line 128 of file types.py.
Referenced by gdb.types.TypePrinter.__init__().
def gdb.types.TypePrinter.__init__ | ( | self, | |
name | |||
) |
Definition at line 128 of file types.py.
References gdb.types.TypePrinter.__init__(), gdb.printing.PrettyPrinter.enabled, gdb.printing.SubPrettyPrinter.enabled, gdb.types.TypePrinter.enabled, bp_location.enabled, exsummary.Function.name, osdata_column.name, mi_opt.name, gdb-gdb.TypeFlag.name, gdb.printing.PrettyPrinter.name, oso_el.name, @35.name, interp.name, objc_class.name, trans.name, subfile.name, cmd_list_element.name, m32c_reg.name, @32.name, @0.name, gdb.printing.SubPrettyPrinter.name, objc_method.name, subfile_stack.name, register_alias.name, gdb.types.TypePrinter.name, mi_cmd.name, context_stack.name, ada_task_info.name, private_thread_info.name, thread_info.name, @16.name, macro_key.name, probe.name, m68hc11_soft_reg.name, header_file_location.name, aop_map.name, minsym_lookup_data.name, delayed_method_info.name, gdb_block.name, main_type.name, loaded_script.name, main_type::@61::field.name, macro_name_list.name, elf_gnu_ifunc_cache.name, cplus_struct_type::fn_fieldlist.name, cplus_struct_type::typedef_field.name, dwp_file.name, line_header::file_entry.name, objc_methcall.name, field_info::fnfieldlist.name, and symtab_index_entry.name.
def gdb.types.TypePrinter.instantiate | ( | self | ) |
Definition at line 132 of file types.py.
Referenced by gdb.types.TypePrinter.instantiate().
def gdb.types.TypePrinter.instantiate | ( | self | ) |
Definition at line 132 of file types.py.
References gdb::types._get_some_type_recognizers(), gdb::types.apply_type_recognizers(), gdb::types.get_type_recognizers(), gdb.types.TypePrinter.instantiate(), and gdb::types.register_type_printer().
Definition at line 128 of file types.py.
Referenced by gdb.printing.FlagEnumerationPrinter.__call__(), and gdb.types.TypePrinter.__init__().
Definition at line 128 of file types.py.
Referenced by gdb.printing.FlagEnumerationPrinter::__call__(), and gdb.types.TypePrinter::__init__().