| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/gdb/python/gdb/command/ |
Upload File : |
Ńņ
ńąJc @ s d d k Z d d k Z d d k Z d d k l Z d d k l Z d d k Z d e i f d YZ d e i
f d YZ e d S( i’’’’N( t
FrameIterator( t FrameWrappert ReverseBacktraceParameterc B s# e 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
COMMAND_STACKt
PARAM_BOOLEANt Falset value( t self( ( s. /usr/share/gdb/python/gdb/command/backtrace.pyR ! s ( t __name__t
__module__t __doc__t set_doct show_docR ( ( ( s. /usr/share/gdb/python/gdb/command/backtrace.pyR s t FilteringBacktracec B s2 e 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 t reverse( R
( ( s. /usr/share/gdb/python/gdb/command/backtrace.pyR . s c C s2 g } x | D] } | i | q
W| i | S( N( t appendR ( R
t itert resultt item( ( s. /usr/share/gdb/python/gdb/command/backtrace.pyt reverse_iter4 s
c C s, g } x | D] } | i | q
W| | S( N( R ( R
R t xR R ( ( s. /usr/share/gdb/python/gdb/command/backtrace.pyt 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 TrueR t splitt intR t selected_threadt newest_framet itertoolst imapR R t backtracet create_frame_filtert izipt countR R R R t islicet syst stdoutt writet describe( R
t argt from_ttyt iR( t filterR t wordR"