Internal class which provides utilities for the main command classes.
Definition at line 611 of file explore.py.
◆ check_args() [1/2]
gdb.command.explore.ExploreUtils.check_args |
( |
| name, |
|
|
| arg_str ) |
|
static |
Utility to check if adequate number of arguments are passed to an
explore command.
Arguments:
name: The name of the explore command.
arg_str: The argument string passed to the explore command.
Returns:
True if adequate arguments are passed, false otherwise.
Raises:
gdb.GdbError if adequate arguments are not passed.
Definition at line 615 of file explore.py.
◆ check_args() [2/2]
gdb.command.explore.ExploreUtils.check_args |
( |
| name, |
|
|
| arg_str ) |
|
static |
Utility to check if adequate number of arguments are passed to an
explore command.
Arguments:
name: The name of the explore command.
arg_str: The argument string passed to the explore command.
Returns:
True if adequate arguments are passed, false otherwise.
Raises:
gdb.GdbError if adequate arguments are not passed.
Definition at line 615 of file explore.py.
◆ get_type_from_str() [1/2]
gdb.command.explore.ExploreUtils.get_type_from_str |
( |
| type_str | ) |
|
|
static |
A utility function to deduce the gdb.Type value from a string
representing the type.
Arguments:
type_str: The type string from which the gdb.Type value should be
deduced.
Returns:
The deduced gdb.Type value if possible, None otherwise.
Definition at line 636 of file explore.py.
◆ get_type_from_str() [2/2]
gdb.command.explore.ExploreUtils.get_type_from_str |
( |
| type_str | ) |
|
|
static |
A utility function to deduce the gdb.Type value from a string
representing the type.
Arguments:
type_str: The type string from which the gdb.Type value should be
deduced.
Returns:
The deduced gdb.Type value if possible, None otherwise.
Definition at line 636 of file explore.py.
◆ get_value_from_str() [1/2]
gdb.command.explore.ExploreUtils.get_value_from_str |
( |
| value_str | ) |
|
|
static |
A utility function to deduce the gdb.Value value from a string
representing the value.
Arguments:
value_str: The value string from which the gdb.Value value should
be deduced.
Returns:
The deduced gdb.Value value if possible, None otherwise.
Definition at line 659 of file explore.py.
◆ get_value_from_str() [2/2]
gdb.command.explore.ExploreUtils.get_value_from_str |
( |
| value_str | ) |
|
|
static |
A utility function to deduce the gdb.Value value from a string
representing the value.
Arguments:
value_str: The value string from which the gdb.Value value should
be deduced.
Returns:
The deduced gdb.Value value if possible, None otherwise.
Definition at line 659 of file explore.py.
The documentation for this class was generated from the following files:
- /home/rel/rpmbuild/BUILD/gdb-14.1/gdb/python/lib/gdb/command/explore.py
- /home/rel/rpmbuild/BUILD/gdb-14.1/build/gdb/data-directory/python/gdb/command/explore.py