GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Protected 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)
 

Protected 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 an "objfile" -- a
shared library or an executable.

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

Definition at line 375 of file frame_filters.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

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

◆ __init__() [2/2]

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

Member Function Documentation

◆ _parse_pri_arg() [1/2]

def gdb.command.frame_filters.ShowFrameFilterPriority._parse_pri_arg (   self,
  arg 
)
protected
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 394 of file frame_filters.py.

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

◆ _parse_pri_arg() [2/2]

def gdb.command.frame_filters.ShowFrameFilterPriority._parse_pri_arg (   self,
  arg 
)
protected
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 394 of file frame_filters.py.

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

◆ complete() [1/2]

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

Definition at line 440 of file frame_filters.py.

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

◆ complete() [2/2]

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

Definition at line 440 of file frame_filters.py.

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

◆ get_filter_priority() [1/2]

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 416 of file frame_filters.py.

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

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

◆ get_filter_priority() [2/2]

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 416 of file frame_filters.py.

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

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

◆ invoke() [1/2]

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

◆ invoke() [2/2]

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

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