crash.commands.task module

SUMMARY

Select task by pid

task <pid>

DESCRIPTION

This command selects the appropriate gdb thread using its Linux pid.

If no pid is specified, the current pid will be displayed.

Examples

::
task 1402
class crash.commands.task.TaskCommand(name: str)[source]

Bases: crash.commands.Command

select task by pid

execute(args: argparse.Namespace) → None[source]

This method implements the command functionality.

Each command has a derived class associated with it that, minimally, implements this method.

Parameters:args – The arguments to this command already parsed by the commmand’s parser.