| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/gdb/python/gdb/__pycache__/ |
Upload File : |
U
Z�>^) � @ s$ d dl Z d dlZG dd� de�ZdS )� Nc s8 e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Z� ZS )
�
FrameIteratorz^A gdb.Frame iterator. Iterates over gdb.Frames or objects that
conform to that interface.c s t t| ��� || _dS )zYInitialize a FrameIterator.
Arguments:
frame_obj the starting frame.N)�superr �__init__�frame)�selfZ frame_obj�� __class__� �*/usr/share/gdb/python/gdb/FrameIterator.pyr s zFrameIterator.__init__c C s | S �Nr �r r r r
�__iter__ s zFrameIterator.__iter__c C s | j }|dkrt�|�� | _ |S )zInext implementation.
Returns:
The next oldest frame.N)r �
StopIteration�older)r �resultr r r
�next# s
zFrameIterator.nextc C s | � � S r )r r r r r
�__next__2 s zFrameIterator.__next__) �__name__�
__module__�__qualname__�__doc__r r
r r �
__classcell__r r r r
r s
r )�gdb� itertools�objectr r r r r
�<module> s