|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/share/gdb/python/gdb/command/ |
Upload File : |
mò
Ç0Kc @ s{ d k Z d k Z d k Z d k l Z d k l Z d k Z d e i f d „ ƒ YZ d e i
f d „ ƒ YZ e ƒ d S( N( s
FrameIterator( s FrameWrappert ReverseBacktraceParameterc B s# t Z d Z d Z d Z d „ Z RS( s· The new-backtrace command can show backtraces in 'reverse' order.
This means that the innermost frame will be printed last.
Note that reverse backtraces are more expensive to compute.s% Enable or disable reverse backtraces.s9 Show whether backtraces will be printed in reverse order.c C s, t i i | d t i t i ƒ t | _ d S( Ns reverse-backtrace( t gdbt Parametert __init__t selft
COMMAND_STACKt
PARAM_BOOLEANt Falset value( R ( ( t. /usr/share/gdb/python/gdb/command/backtrace.pyR ! s ( t __name__t
__module__t __doc__t set_doct show_docR ( ( ( R R s t FilteringBacktracec B s2 t Z d Z d „ Z d „ Z d „ Z d „ Z RS( s Print backtrace of all stack frames, or innermost COUNT frames.
With a negative argument, print outermost -COUNT frames.
Use of the 'full' qualifier also prints the values of the local variables.
Use of the 'raw' qualifier avoids any filtering by loadable modules.
c C s) t i i | d t i ƒ t ƒ | _ d S( Ns
new-backtrace( R t CommandR R R R t reverse( R ( ( R R . s c C s2 g } x | D] } | i | ƒ q
W| i ƒ | S( N( t resultt itert itemt appendR ( R R R R ( ( R t reverse_iter4 s
c C s, g } x | D] } | i | ƒ q
W| | S( N( R R R R t x( R R R R R ( ( R t final_n; s
c C s d } d } t } t } xe | i d ƒ D]T }
|
d j o q( q( |
d j o
t } q( |
d j o
t } q( t |
ƒ } q( Wt
i ƒ i ƒ } t
i t t | ƒ ƒ } | o t
i i | ƒ } n t
i t
i d ƒ | ƒ } | i i o | i | ƒ } n | d j o | i | | ƒ } n' | d j o t
i | d | ƒ } n x= | D]5 } t i i d | d ƒ | d i t i | ƒ qRWd S( Ni t t t rawt fulls #%-2di ( t it countt Truet filterR R t argt splitt wordt intR t selected_threadt newest_framet itertoolst imapt FrameWrappert
FrameIteratorR t backtracet create_frame_filtert izipR R R R R t islicet pairt syst stdoutt writet describe( R R! t from_ttyR R R R&