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

Classes

class  DisableUnwinder
 
class  EnableUnwinder
 
class  InfoUnwinder
 

Functions

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

Function Documentation

◆ do_enable_unwinder()

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

◆ do_enable_unwinder1()

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()

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()

gdb.command.unwinders.register_unwinder_commands ( )

◆ validate_regexp()

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

Definition at line 21 of file unwinders.py.

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