()
return result
Return a list of the enabled type recognizers for the current context.
Return a list of the enabled type recognizers for the current context.
Return a list of the enabled type recognizers for the current context .
def get_type_recognizers():
    "Return a list of the enabled type recognizers for the current context."
    result = []

    # First try the objfiles.
    for objfile in gdb.objfiles():
        _get_some_type_recognizers(result, objfile.type_printers)
    # Now try the program space.
    _get_some_type_recognizers(result, gdb.current_progspace().type_printers)
    # Finally, globals.
    _get_some_type_recognizers(result, gdb.type_printers)

    return result
def get_type_recognizers ( ) : result = [ ] # First try the objfiles. for objfile in gdb . objfiles ( ) : _get_some_type_recognizers ( result , objfile . type_printers ) # Now try the program space. _get_some_type_recognizers ( result , gdb . current_progspace ( ) . type_printers ) # Finally, globals. _get_some_type_recognizers ( result , gdb . type_printers ) return result