Static Public Member Functions | |
def | guard_expr |
def | explore_expr |
def | explore_type |
def | init_env |
def | is_scalar_type |
def | return_to_parent_value |
def | return_to_parent_value_prompt |
def | return_to_enclosing_type |
def | return_to_enclosing_type_prompt |
def | guard_expr |
def | explore_expr |
def | explore_type |
def | init_env |
def | is_scalar_type |
def | return_to_parent_value |
def | return_to_parent_value_prompt |
def | return_to_enclosing_type |
def | return_to_enclosing_type_prompt |
Static Public Attributes | |
dictionary | type_code_to_explorer_map = { } |
Internal class which invokes other explorers.
Definition at line 26 of file explore.py.
def gdb.command.explore.Explorer.explore_expr | ( | expr, | |
value, | |||
is_child | |||
) | [static] |
Main function to explore an expression value. Arguments: expr: The expression string that is being explored. value: The gdb.Value value of the expression. is_child: Boolean value to indicate if the expression is a child. An expression is a child if it is derived from the main expression entered by the user. For example, if the user entered an expression which evaluates to a struct, then when exploring the fields of the struct, is_child is set to True internally. Returns: No return value.
Definition at line 66 of file explore.py.
def gdb.command.explore.Explorer.explore_expr | ( | expr, | |
value, | |||
is_child | |||
) | [static] |
Main function to explore an expression value. Arguments: expr: The expression string that is being explored. value: The gdb.Value value of the expression. is_child: Boolean value to indicate if the expression is a child. An expression is a child if it is derived from the main expression entered by the user. For example, if the user entered an expression which evaluates to a struct, then when exploring the fields of the struct, is_child is set to True internally. Returns: No return value.
Definition at line 66 of file explore.py.
def gdb.command.explore.Explorer.explore_type | ( | name, | |
datatype, | |||
is_child | |||
) | [static] |
Main function to explore a data type. Arguments: name: The string representing the path to the data type being explored. datatype: The gdb.Type value of the data type being explored. is_child: Boolean value to indicate if the name is a child. A name is a child if it is derived from the main name entered by the user. For example, if the user entered the name of struct type, then when exploring the fields of the struct, is_child is set to True internally. Returns: No return value.
Definition at line 92 of file explore.py.
def gdb.command.explore.Explorer.explore_type | ( | name, | |
datatype, | |||
is_child | |||
) | [static] |
Main function to explore a data type. Arguments: name: The string representing the path to the data type being explored. datatype: The gdb.Type value of the data type being explored. is_child: Boolean value to indicate if the name is a child. A name is a child if it is derived from the main name entered by the user. For example, if the user entered the name of struct type, then when exploring the fields of the struct, is_child is set to True internally. Returns: No return value.
Definition at line 92 of file explore.py.
def gdb.command.explore.Explorer.guard_expr | ( | expr | ) | [static] |
Definition at line 42 of file explore.py.
def gdb.command.explore.Explorer.guard_expr | ( | expr | ) | [static] |
Definition at line 42 of file explore.py.
def gdb.command.explore.Explorer.init_env | ( | ) | [static] |
Initializes the Explorer environment. This function should be invoked before starting any exploration. If invoked before an exploration, it need not be invoked for subsequent explorations.
Definition at line 118 of file explore.py.
def gdb.command.explore.Explorer.init_env | ( | ) | [static] |
Initializes the Explorer environment. This function should be invoked before starting any exploration. If invoked before an exploration, it need not be invoked for subsequent explorations.
Definition at line 118 of file explore.py.
def gdb.command.explore.Explorer.is_scalar_type | ( | type | ) | [static] |
Checks whether a type is a scalar type. A type is a scalar type of its type is gdb.TYPE_CODE_CHAR or gdb.TYPE_CODE_INT or gdb.TYPE_CODE_BOOL or gdb.TYPE_CODE_FLT or gdb.TYPE_CODE_VOID or gdb.TYPE_CODE_ENUM. Arguments: type: The type to be checked. Returns: 'True' if 'type' is a scalar type. 'False' otherwise.
Definition at line 140 of file explore.py.
def gdb.command.explore.Explorer.is_scalar_type | ( | type | ) | [static] |
Checks whether a type is a scalar type. A type is a scalar type of its type is gdb.TYPE_CODE_CHAR or gdb.TYPE_CODE_INT or gdb.TYPE_CODE_BOOL or gdb.TYPE_CODE_FLT or gdb.TYPE_CODE_VOID or gdb.TYPE_CODE_ENUM. Arguments: type: The type to be checked. Returns: 'True' if 'type' is a scalar type. 'False' otherwise.
Definition at line 140 of file explore.py.
def gdb.command.explore.Explorer.return_to_enclosing_type | ( | ) | [static] |
A utility function which prints that the current exploration session is returning to the enclosing type. Useful when exploring types.
Definition at line 174 of file explore.py.
def gdb.command.explore.Explorer.return_to_enclosing_type | ( | ) | [static] |
A utility function which prints that the current exploration session is returning to the enclosing type. Useful when exploring types.
Definition at line 174 of file explore.py.
def gdb.command.explore.Explorer.return_to_enclosing_type_prompt | ( | ) | [static] |
A utility function which prompts the user to press the 'enter' key so that the exploration session can shift back to the enclosing type. Useful when exploring types.
Definition at line 181 of file explore.py.
def gdb.command.explore.Explorer.return_to_enclosing_type_prompt | ( | ) | [static] |
A utility function which prompts the user to press the 'enter' key so that the exploration session can shift back to the enclosing type. Useful when exploring types.
Definition at line 181 of file explore.py.
def gdb.command.explore.Explorer.return_to_parent_value | ( | ) | [static] |
A utility function which prints that the current exploration session is returning to the parent value. Useful when exploring values.
Definition at line 159 of file explore.py.
def gdb.command.explore.Explorer.return_to_parent_value | ( | ) | [static] |
A utility function which prints that the current exploration session is returning to the parent value. Useful when exploring values.
Definition at line 159 of file explore.py.
def gdb.command.explore.Explorer.return_to_parent_value_prompt | ( | ) | [static] |
A utility function which prompts the user to press the 'enter' key so that the exploration session can shift back to the parent value. Useful when exploring values.
Definition at line 166 of file explore.py.
def gdb.command.explore.Explorer.return_to_parent_value_prompt | ( | ) | [static] |
A utility function which prompts the user to press the 'enter' key so that the exploration session can shift back to the parent value. Useful when exploring values.
Definition at line 166 of file explore.py.
dictionary gdb::command::explore.Explorer::type_code_to_explorer_map = { } [static] |
Definition at line 30 of file explore.py.