Sindbad~EG File Manager

Current Path : /usr/local/share/gdb/python/gdb/command/__pycache__/
Upload File :
Current File : //usr/local/share/gdb/python/gdb/command/__pycache__/prompt.cpython-311.pyc

�

��g���T�dZddlZddlZGd�dej��Ze��dS)z.GDB command for working with extended prompts.�Nc�z��eZdZdZedzej���zZdZdZ�fd�Z	d�Z
d�Zd�Z�xZ
S)	�_ExtendedPromptz�Set the extended prompt.

    Usage: set extended-prompt VALUE

    Substitutions are applied to VALUE to compute the real prompt.

    The currently defined substitutions are:�
zSet the extended prompt.zShow the extended prompt.c���tt|���dtjtj��d|_d|_dS)Nzextended-prompt�F)�superr�__init__�gdb�COMMAND_SUPPORT�PARAM_STRING_NOESCAPE�value�hook_set)�self�	__class__s ��./gdb/command/prompt.pyr	z_ExtendedPrompt.__init__'sF���
�o�t�$�$�-�-��s�2�C�4M�	
�	
�	
���
���
�
�
�c�(�|jr
d|jzSdS)NzThe extended prompt is: zThe extended prompt is not set.)r
)r�pvalues  r�get_show_stringz_ExtendedPrompt.get_show_string.s���:�	5�-��
�:�:�4�4rc�H�|jdur|jt_d|_dS)NFTr)r�before_prompt_hookr
�prompt_hook)rs r�get_set_stringz_ExtendedPrompt.get_set_string4s%���=�E�!�!�"�5�C�O� �D�M��rrc�\�|jr$tj�|j��SdS)N)r
r
�prompt�substitute_prompt)r�currents  rrz"_ExtendedPrompt.before_prompt_hook:s)���:�	��:�/�/��
�;�;�;��4r)�__name__�
__module__�__qualname__�__doc__r
r�prompt_help�set_doc�show_docr	rrr�
__classcell__)rs@rrrs��������0�0���n�s�z�5�5�7�7�7�G�(�G�*�H������5�5�5����������rr)r!r
�
gdb.prompt�	Parameterr�rr�<module>r)se��"5�4�
�
�
�
�����'�'�'�'�'�c�m�'�'�'�T������r

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists