GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
gdb.command.xmethods.InfoXMethod Class Reference
Inheritance diagram for gdb.command.xmethods.InfoXMethod:

Public Member Functions

 __init__ (self)
 
 invoke (self, arg, from_tty)
 
 __init__ (self)
 
 invoke (self, arg, from_tty)
 

Detailed Description

GDB command to list registered xmethod matchers.

Usage: info xmethod [LOCUS-REGEXP [NAME-REGEXP]]

LOCUS-REGEXP is a regular expression matching the location of the
xmethod matchers.  If it is omitted, all registered xmethod matchers
from all loci are listed.  A locus could be 'global', a regular expression
matching the current program space's filename, or a regular expression
matching filenames of objfiles.  Locus could be 'progspace' to specify that
only xmethods from the current progspace should be listed.

NAME-REGEXP is a regular expression matching the names of xmethod
matchers.  If this omitted for a specified locus, then all registered
xmethods in the locus are listed.  To list only a certain xmethods
managed by a single matcher, the name regexp can be specified as
matcher-name-regexp;xmethod-name-regexp.

Definition at line 178 of file xmethods.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

gdb.command.xmethods.InfoXMethod.__init__ ( self)

◆ __init__() [2/2]

gdb.command.xmethods.InfoXMethod.__init__ ( self)

Definition at line 196 of file xmethods.py.

References gdb.command.xmethods.InfoXMethod.__init__().

Member Function Documentation

◆ invoke() [1/2]

gdb.command.xmethods.InfoXMethod.invoke ( self,
arg,
from_tty )

◆ invoke() [2/2]

gdb.command.xmethods.InfoXMethod.invoke ( self,
arg,
from_tty )

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