(name, datatype, is_child)
return False
Function to explore scalar types.
        See Explorer.explore_type and Explorer.is_scalar_type for more
        information.
Function to explore scalar types.
        See Explorer.explore_type and Explorer.is_scalar_type for more
        information.
Function to explore scalar types . See Explorer . explore_type and Explorer . is_scalar_type for more information .
def explore_type(name, datatype, is_child):
        """Function to explore scalar types.
        See Explorer.explore_type and Explorer.is_scalar_type for more
        information.
        """
        if datatype.code == gdb.TYPE_CODE_ENUM:
            if is_child:
                print ("%s is of an enumerated type '%s'." %
                       (name, str(datatype)))
            else:
                print ("'%s' is an enumerated type." % name)
        else:
            if is_child:
                print ("%s is of a scalar type '%s'." %
                       (name, str(datatype)))
            else:
                print ("'%s' is a scalar type." % name)

        if is_child:
            Explorer.return_to_enclosing_type_prompt()
            Explorer.return_to_enclosing_type()

        return False
def explore_type ( name , datatype , is_child ) : if datatype . code == gdb . TYPE_CODE_ENUM : if is_child : print ( "%s is of an enumerated type '%s'." % ( name , str ( datatype ) ) ) else : print ( "'%s' is an enumerated type." % name ) else : if is_child : print ( "%s is of a scalar type '%s'." % ( name , str ( datatype ) ) ) else : print ( "'%s' is a scalar type." % name ) if is_child : Explorer . return_to_enclosing_type_prompt ( ) Explorer . return_to_enclosing_type ( ) return False