| Server IP : 43.141.49.92 / Your IP : 113.219.202.44 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/gdb/python/gdb/__pycache__/ |
Upload File : |
�
��e~ � � � d Z ddlZddlZd� Zd� Zd� Zd� Zd� Zd� Zd � Z d
� Z
d� Zd� Zd
� Z
d� Zee e
eeeeeee
ed�Zd� Zd� ZdS )z# Extended prompt library functions.� Nc �( � t j � � S )zThe current working directory.)�os�getcwd)�ignores �#/usr/share/gdb/python/gdb/prompt.py�_prompt_pwdr s � �
�9�;�;�� c �� � |�|} | � � }n# t j $ r d|z cY S w xY wt ||� � r+t ||� � }t |� � r
|� � }|S d|�d|�d�S )z,Internal worker for fetching GDB attributes.Nz<no %s>z<no attribute z on current �>)�gdb�error�hasattr�getattr�callable)�func�what�attr�nattr�obj�results r �_prompt_object_attrr s� � ��|��� ��d�f�f�����9� � � ��4����� �����s�D��� @���d�#�#���F��� ��V�X�X�F��
� @� 59�D�D�$�$�$�?�?s �
�(�(c �: � t t j d| d� � S )z8The selected frame; an argument names a frame parameter.�frame�name)r r �selected_frame�r s r �
_prompt_framer - s � ��s�1�7�D�&�I�I�Ir c �: � t t j d| d� � S )z:The selected thread; an argument names a thread parameter.�thread�num)r r �selected_threadr s r �_prompt_threadr"