Information System : Linux apprendre2 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Disable Function : NONE
ó
›à Rc @ sR d d l Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d S( iÿÿÿÿNt FrameDecoratorc B sn e Z d Z d „ Z e d „ ƒ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d „ Z d
„ Z
RS( s) Basic implementation of a Frame Decoratorc C s
| | _ d S( N( t _base( t selft base( ( s+ /usr/share/gdb/python/gdb/FrameDecorator.pyt __init__3 s c C sU | j ƒ } | j sM | j j sM | j ƒ t j k sM | j ƒ t j k rQ t St S( sI Internal utility to determine if the frame is special or
limited.( t find_salt symtabt filenamet typet gdbt DUMMY_FRAMEt SIGTRAMP_FRAMEt Truet False( t framet sal( ( s+ /usr/share/gdb/python/gdb/FrameDecorator.pyt _is_limited_frame6 s c C s# t | j d ƒ r | j j ƒ Sd S( sL Return any elided frames that this class might be
wrapping, or None.t elidedN( t hasattrR R t None( R ( ( s+ /usr/share/gdb/python/gdb/FrameDecorator.pyR D s
c C s§ t | j t j ƒ s7 t | j d ƒ r7 | j j ƒ Sn | j ƒ } | j ƒ t j k r\ d S| j ƒ t j k ru d S| j ƒ } | d k r | j ƒ } | St | ƒ S( sð 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).t functions s N(
t
isinstanceR R t FrameR R t inferior_frameR R
R R t pct str( R R t funcR ( ( s+ /usr/share/gdb/python/gdb/FrameDecorator.pyR L s c C s5 t | j d ƒ r | j j ƒ S| j ƒ } | j ƒ S( s% Return the address of the frame's pct address( R R R R R ( R R ( ( s+ /usr/share/gdb/python/gdb/FrameDecorator.pyR q s
c C su t | j d ƒ r | j j ƒ S| j ƒ } | j ƒ } | j sN | j j rg | j ƒ } t j | ƒ S| j j Sd S( s’ Return the filename associated with this frame, detecting
and returning the appropriate library name is this is a shared
library.R N( R R R R R R R R t
solib_name( R R R R ( ( s+ /usr/share/gdb/python/gdb/FrameDecorator.pyR z s
c C sT t | j d ƒ r | j j ƒ S| j ƒ } | j | ƒ r> d St | ƒ } | j ƒ S( s 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.t
frame_argsN( R R R R R R t FrameVarst fetch_frame_args( R R t args( ( s+ /usr/share/gdb/python/gdb/FrameDecorator.pyR Š s
c C sT t | j d ƒ r | j j ƒ S| j ƒ } | j | ƒ r> d St | ƒ } | j ƒ S( s 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.t frame_localsN( R R R! R R R R t fetch_frame_locals( R R R ( ( s+ /usr/share/gdb/python/gdb/FrameDecorator.pyR! š s
c C s_ t | j d ƒ r | j j ƒ S| j ƒ } | j | ƒ r> d S| j ƒ } | rW | j Sd Sd S( s¾ 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 Nonet lineN( R R R# R R R R ( R R R ( ( s+ /usr/share/gdb/python/gdb/FrameDecorator.pyR# ª s
c C s&