GDB (xrefs)
|
Public Member Functions | |
def | __init__ |
def | __call__ |
def | __init__ |
def | __call__ |
Public Attributes | |
initialized | |
enumerators |
A pretty-printer which can be used to print a flag-style enumeration. A flag-style enumeration is one where the enumerators are or'd together to create values. The new printer will print these symbolically using '|' notation. The printer must be registered manually. This printer is most useful when an enum is flag-like, but has some overlap. GDB's built-in printing will not handle this case, but this printer will attempt to.
Definition at line 236 of file printing.py.
def gdb.printing.FlagEnumerationPrinter.__init__ | ( | self, | |
enum_type | |||
) |
Definition at line 245 of file printing.py.
Referenced by gdb.printing.FlagEnumerationPrinter.__init__().
def gdb.printing.FlagEnumerationPrinter.__init__ | ( | self, | |
enum_type | |||
) |
Definition at line 245 of file printing.py.
References gdb.printing.FlagEnumerationPrinter.__init__(), dwarf_expr_context.initialized, and gdb.printing.FlagEnumerationPrinter.initialized.
def gdb.printing.FlagEnumerationPrinter.__call__ | ( | self, | |
val | |||
) |
Reimplemented from gdb.printing.PrettyPrinter.
Definition at line 249 of file printing.py.
Referenced by gdb.printing.FlagEnumerationPrinter.__call__().
def gdb.printing.FlagEnumerationPrinter.__call__ | ( | self, | |
val | |||
) |
Reimplemented from gdb.printing.PrettyPrinter.
Definition at line 249 of file printing.py.
References gdb.printing.FlagEnumerationPrinter.__call__(), gdb.printing.PrettyPrinter.enabled, skiplist_entry.enabled, gdb.printing.SubPrettyPrinter.enabled, gdb.types.TypePrinter.enabled, uploaded_tp.enabled, bp_location.enabled, gdb.printing._EnumInstance.enumerators, gdb.printing.FlagEnumerationPrinter.enumerators, dwarf_expr_context.initialized, gdb.printing.FlagEnumerationPrinter.initialized, reg.name, exsummary.Function.name, osdata_column.name, mi_opt.name, xtensa_regtable_t.name, parm_constant.name, reggroup.name, lm_info.name, cmdpy_completer.name, gdb-gdb.TypeFlag.name, user_reg.name, notif_client.name, trace_state_variable.name, pybp_code.name, gdb.printing.PrettyPrinter.name, oso_el.name, @35.name, interp.name, tdesc_reg.name, internal_function.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, gdb_xml_value.name, pyty_code.name, header_file.name, section_addr_info::other_sections.name, tdesc_type_field.name, syscall.name, tdesc_type_flag.name, general_symbol_info.name, tdesc_type.name, subfile_stack.name, gdb_xml_attribute.name, lm_sec.name, register_alias.name, xtensa_register_t.name, gdb.types.TypePrinter.name, varobj.name, tui_translate.name, probe_info.name, mi_cmd.name, ada_task_info.name, context_stack.name, private_thread_info.name, thread_info.name, @16.name, gdb_xml_element.name, macro_key.name, tdesc_feature.name, symbol_file_add_from_memory_args.name, probe.name, tui_data_element.name, m68hc11_soft_reg.name, thread_info_struct.name, uploaded_tsv.name, cpstack.name, gdb_xml_enum.name, serial.name, header_file_location.name, serial_ops.name, aop_map.name, minsym_lookup_data.name, delayed_method_info.name, gdb_block.name, main_type.name, dld_list.name, _inclTable.name, loaded_script.name, main_type::@61::field.name, safe_symbol_file_add_args.name, internal_problem.name, macro_name_list.name, elf_gnu_ifunc_cache.name, cplus_struct_type::fn_fieldlist.name, cplus_struct_type::typedef_field.name, memory_packet_config.name, dwp_file.name, line_header::file_entry.name, packet_config.name, objc_methcall.name, field_info::fnfieldlist.name, @113.name, internalvar.name, global_sym_lookup_data.name, f77_boolean_val.name, @178.name, @167.name, variant.name, protocol_feature.name, and symtab_index_entry.name.
Definition at line 249 of file printing.py.
Referenced by gdb.printing.FlagEnumerationPrinter.__call__().
Definition at line 245 of file printing.py.
Referenced by gdb.printing.FlagEnumerationPrinter::__call__(), and gdb.printing.FlagEnumerationPrinter::__init__().