GDB (xrefs)
Public Member Functions | Private Member Functions | List of all members
gdb.command.frame_filters.ShowFrameFilterPriority Class Reference
Inheritance diagram for gdb.command.frame_filters.ShowFrameFilterPriority:

Public Member Functions

def __init__ (self)
 
def get_filter_priority (self, frame_filters, name)
 
def complete (self, text, word)
 
def invoke (self, arg, from_tty)
 
def __init__ (self)
 
def get_filter_priority (self, frame_filters, name)
 
def complete (self, text, word)
 
def invoke (self, arg, from_tty)
 

Private Member Functions

def _parse_pri_arg (self, arg)
 
def _parse_pri_arg (self, arg)
 

Detailed Description

GDB command to show the priority of the specified frame-filter.

Usage: show frame-filter priority DICTIONARY NAME

DICTIONARY is the name of the frame filter dictionary on which to
operate.  Named dictionaries are: "global" for the global frame
filter dictionary, "progspace" for the program space's framefilter
dictionary.  If either of these two are not specified, the
dictionary name is assumed to be the name of the object-file name.

NAME matches the name of the frame-filter to operate on.

Definition at line 369 of file frame_filters.py.

Constructor & Destructor Documentation

def gdb.command.frame_filters.ShowFrameFilterPriority.__init__ (   self)
def gdb.command.frame_filters.ShowFrameFilterPriority.__init__ (   self)

Member Function Documentation

def gdb.command.frame_filters.ShowFrameFilterPriority._parse_pri_arg (   self,
  arg 
)
private
Internal worker to parse a dictionary and name from a
tuple.

Arguments:
    arg: Tuple which contains the arguments from the command.

Returns:
    A tuple containing the dictionary,  and frame filter name.

Raises:
    gdb.GdbError: An error parsing the arguments.

Definition at line 388 of file frame_filters.py.

References len.

Referenced by gdb.command.frame_filters.ShowFrameFilterPriority._parse_pri_arg(), and gdb.command.frame_filters.ShowFrameFilterPriority.invoke().

def gdb.command.frame_filters.ShowFrameFilterPriority._parse_pri_arg (   self,
  arg 
)
private
Internal worker to parse a dictionary and name from a
tuple.

Arguments:
    arg: Tuple which contains the arguments from the command.

Returns:
    A tuple containing the dictionary,  and frame filter name.

Raises:
    gdb.GdbError: An error parsing the arguments.

Definition at line 388 of file frame_filters.py.

References gdb.command.frame_filters.ShowFrameFilterPriority._parse_pri_arg(), and len.

def gdb.command.frame_filters.ShowFrameFilterPriority.complete (   self,
  text,
  word 
)
Completion function for both frame filter dictionary, and
frame filter name.

Definition at line 435 of file frame_filters.py.

References gdb.command.frame_filters._complete_frame_filter_list(), gdb.command.frame_filters._complete_frame_filter_name(), and gdb.command.frame_filters.ShowFrameFilterPriority.complete().

def gdb.command.frame_filters.ShowFrameFilterPriority.complete (   self,
  text,
  word 
)
Completion function for both frame filter dictionary, and
frame filter name.

Definition at line 435 of file frame_filters.py.

References gdb.command.frame_filters._complete_frame_filter_list(), and gdb.command.frame_filters._complete_frame_filter_name().

Referenced by gdb.command.frame_filters.ShowFrameFilterPriority.complete().

def gdb.command.frame_filters.ShowFrameFilterPriority.get_filter_priority (   self,
  frame_filters,
  name 
)
Worker for retrieving the priority of frame_filters.

Arguments:
    frame_filters: Name of frame filter dictionary.
    name: object to select printers.

Returns:
    The priority of the frame filter.

Raises:
    gdb.GdbError: A frame filter cannot be found.

Definition at line 411 of file frame_filters.py.

References gdb.frames.get_priority(), and gdb.frames.return_list().

Referenced by gdb.command.frame_filters.ShowFrameFilterPriority.get_filter_priority(), and gdb.command.frame_filters.ShowFrameFilterPriority.invoke().

def gdb.command.frame_filters.ShowFrameFilterPriority.get_filter_priority (   self,
  frame_filters,
  name 
)
Worker for retrieving the priority of frame_filters.

Arguments:
    frame_filters: Name of frame filter dictionary.
    name: object to select printers.

Returns:
    The priority of the frame filter.

Raises:
    gdb.GdbError: A frame filter cannot be found.

Definition at line 411 of file frame_filters.py.

References gdb.command.frame_filters.ShowFrameFilterPriority.get_filter_priority(), gdb.frames.get_priority(), and gdb.frames.return_list().

def gdb.command.frame_filters.ShowFrameFilterPriority.invoke (   self,
  arg,
  from_tty 
)
def gdb.command.frame_filters.ShowFrameFilterPriority.invoke (   self,
  arg,
  from_tty 
)

The documentation for this class was generated from the following file: