| 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�>^q � @ s� d Z ddlZddlZdd� Zdd� Zdd� Zd d
� Zdd� Zd
d� Zdd� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zee e
eeeeeee
ed�Zdd� Zdd� ZdS ) z# Extended prompt library functions.� Nc C s t �� S )zThe current working directory.)�os�getcwd)�ignore� r �#/usr/share/gdb/python/gdb/prompt.py�_prompt_pwd s r c C sl |dkr|}z
| � }W n t jk
r4 d| Y S X t||�r\t||�}t|�rX|� }|S d||f S dS )z,Internal worker for fetching GDB attributes.Nz<no %s>z<no attribute %s on current %s>)�gdb�error�hasattr�getattr�callable)�funcZwhat�attrZnattr�obj�resultr r r �_prompt_object_attr s
r c C s t tjd| d�S )z8The selected frame; an argument names a frame parameter.�frame�name)r r �selected_frame�r r r r �
_prompt_frame* s r c C s t tjd| d�S )z:The selected thread; an argument names a thread parameter.�thread�num)r r �selected_threadr r r r �_prompt_thread. s r c C s t jS )zThe version of GDB.)r �VERSIONr r r r �_prompt_version2 s r c C s dS )zThe ESC character.�r r r r r �_prompt_esc6 s r c C s dS )zA backslash.�\r r r r r �
_prompt_bs: s r c C s dS )z
A newline.�
r r r r r � _prompt_n>