NAME gdb.FrameDecorator - # Copyright (C) 2013-2016 Free Software Foundation, Inc. CLASSES builtins.object FrameDecorator FrameVars SymValueWrapper class FrameDecorator(builtins.object) | Basic implementation of a Frame Decorator | | Methods defined here: | | __init__(self, base) | Initialize self. See help(type(self)) for accurate signature. | | address(self) | Return the address of the frame's pc | | elided(self) | Return any elided frames that this class might be | wrapping, or None. | | filename(self) | Return the filename associated with this frame, detecting | and returning the appropriate library name is this is a shared | library. | | frame_args(self) | Return an iterable of frame arguments for this frame, if | any. The iterable object contains objects conforming with the | Symbol/Value interface. If there are no frame arguments, or | if this frame is deemed to be a special case, return None. | | frame_locals(self) | Return an iterable of local variables for this frame, if | any. The iterable object contains objects conforming with the | Symbol/Value interface. If there are no frame locals, or if | this frame is deemed to be a special case, return None. | | function(self) | Return the name of the frame's function or an address of | the function of the frame. First determine if this is a | special frame. If not, try to determine filename from GDB's | frame internal function API. Finally, if a name cannot be | determined return the address. If this function returns an | address, GDB will attempt to determine the function name from | its internal minimal symbols store (for example, for inferiors | without debug-info). | | inferior_frame(self) | Return the gdb.Frame underpinning this frame decorator. | | line(self) | Return line number information associated with the frame's | pc. If symbol table/line information does not exist, or if | this frame is deemed to be a special case, return None | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) class FrameVars(builtins.object) | Utility class to fetch and store frame local variables, or | frame arguments. | | Methods defined here: | | __init__(self, frame) | Initialize self. See help(type(self)) for accurate signature. | | fetch_b(self, sym) | Local utility method to determine if according to Symbol | type whether it should be included in the iterator. Not all | symbols are fetched, and only symbols that return | True from this method should be fetched. | | fetch_frame_args(self) | Public utility method to fetch frame arguments for the | stored frame. Frame arguments are the only type fetched. If | there are no frame argument variables, return an empty list. | | fetch_frame_locals(self) | Public utility method to fetch frame local variables for | the stored frame. Frame arguments are not fetched. If there | are no frame local variables, return an empty list. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) class SymValueWrapper(builtins.object) | A container class conforming to the Symbol/Value interface | which holds frame locals or frame arguments. | | Methods defined here: | | __init__(self, symbol, value) | Initialize self. See help(type(self)) for accurate signature. | | symbol(self) | Return the symbol, or Python text, associated with this | symbol, or None | | value(self) | Return the value associated with this symbol, or None | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) FILE /opt/gsrc/packages/gdb-7.11.1/share/gdb/python/gdb/FrameDecorator.py