Python gdb.COMMAND_STACK Examples

The following are 11 code examples of gdb.COMMAND_STACK(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module gdb , or try the search function .
Example #1
Source File: backtrace.py    From gdb_python_api with MIT License 5 votes vote down vote up
def __init__ (self):
        super (BacktraceStripRegex, self).__init__ ("backtrace-strip-regex",
                                                    gdb.COMMAND_STACK,
                                                    gdb.PARAM_STRING_NOESCAPE)
        self.value = '^(std::|__gnu)'   # default

    # required API 
Example #2
Source File: backtrace.py    From gdb_python_api with MIT License 5 votes vote down vote up
def __init__ (self):
        super (BacktraceStripRegexes, self).__init__ ("backtrace-strip-regexes",
                                                      gdb.COMMAND_STACK,
                                                      gdb.PARAM_STRING_NOESCAPE)
        self.value = None   # default: no frame grouping

    # required API 
Example #3
Source File: stackframe.py    From gdb_python_api with MIT License 5 votes vote down vote up
def __init__ (self):
        super (PrintFrame, self).__init__ ("pframe", gdb.COMMAND_STACK) 
Example #4
Source File: libpython.py    From pyringe with Apache License 2.0 5 votes vote down vote up
def __init__(self):
        gdb.Command.__init__ (self,
                              "py-up",
                              gdb.COMMAND_STACK,
                              gdb.COMPLETE_NONE) 
Example #5
Source File: libpython.py    From pyringe with Apache License 2.0 5 votes vote down vote up
def __init__(self):
        gdb.Command.__init__ (self,
                              "py-down",
                              gdb.COMMAND_STACK,
                              gdb.COMPLETE_NONE) 
Example #6
Source File: libpython.py    From pyringe with Apache License 2.0 5 votes vote down vote up
def __init__(self):
        gdb.Command.__init__ (self,
                              "py-bt",
                              gdb.COMMAND_STACK,
                              gdb.COMPLETE_NONE) 
Example #7
Source File: python-gdb.py    From copr-sundry with Apache License 2.0 5 votes vote down vote up
def __init__(self):
        gdb.Command.__init__ (self,
                              "py-up",
                              gdb.COMMAND_STACK,
                              gdb.COMPLETE_NONE) 
Example #8
Source File: python-gdb.py    From copr-sundry with Apache License 2.0 5 votes vote down vote up
def __init__(self):
        gdb.Command.__init__ (self,
                              "py-down",
                              gdb.COMMAND_STACK,
                              gdb.COMPLETE_NONE) 
Example #9
Source File: python-gdb.py    From copr-sundry with Apache License 2.0 5 votes vote down vote up
def __init__(self):
        gdb.Command.__init__ (self,
                              "py-bt",
                              gdb.COMMAND_STACK,
                              gdb.COMPLETE_NONE) 
Example #10
Source File: python-gdb.py    From copr-sundry with Apache License 2.0 5 votes vote down vote up
def __init__(self):
        gdb.Command.__init__ (self,
                              "py-up",
                              gdb.COMMAND_STACK,
                              gdb.COMPLETE_NONE) 
Example #11
Source File: python-gdb.py    From copr-sundry with Apache License 2.0 5 votes vote down vote up
def __init__(self):
        gdb.Command.__init__ (self,
                              "py-down",
                              gdb.COMMAND_STACK,
                              gdb.COMPLETE_NONE)