GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions
gdb.command.unwinders Namespace Reference

Classes

class  DisableUnwinder
 
class  EnableUnwinder
 
class  InfoUnwinder
 

Functions

def validate_regexp (exp, idstring)
 
def parse_unwinder_command_args (arg)
 
def do_enable_unwinder1 (unwinders, name_re, flag)
 
def do_enable_unwinder (arg, flag)
 
def register_unwinder_commands ()
 

Function Documentation

◆ do_enable_unwinder()

def gdb.command.unwinders.do_enable_unwinder (   arg,
  flag 
)

◆ do_enable_unwinder1()

def gdb.command.unwinders.do_enable_unwinder1 (   unwinders,
  name_re,
  flag 
)
Enable/disable unwinders whose names match given regex.

Arguments:
    unwinders: The list of unwinders.
    name_re: Unwinder name filter.
    flag: Enable/disable.

Returns:
    The number of unwinders affected.

Definition at line 110 of file unwinders.py.

Referenced by gdb.command.unwinders.do_enable_unwinder(), and gdb.command.unwinders.InfoUnwinder.invoke().

◆ parse_unwinder_command_args()

def gdb.command.unwinders.parse_unwinder_command_args (   arg)
Internal utility to parse unwinder command argv.

Arguments:
    arg: The arguments to the command. The format is:
         [locus-regexp [name-regexp]]

Returns:
    A 2-tuple of compiled regular expressions.

Raises:
    SyntaxError: an error processing ARG

Definition at line 28 of file unwinders.py.

References gdb.command.unwinders.validate_regexp().

Referenced by gdb.command.unwinders.do_enable_unwinder(), and gdb.command.unwinders.InfoUnwinder.invoke().

◆ register_unwinder_commands()

def gdb.command.unwinders.register_unwinder_commands ( )

◆ validate_regexp()

def gdb.command.unwinders.validate_regexp (   exp,
  idstring 
)

Definition at line 21 of file unwinders.py.

Referenced by gdb.command.unwinders.parse_unwinder_command_args().